text: # got this file from somewhere, I think it must be from google, better than direct referecing the models, but no big deal either way
  import os, re, types
  
  PACKAGE = 'worldwide.models'
  MODEL_RE = r"^.*.py$"
  
  # Search through every file inside this package.
  model_names = []
  model_dir = os.path.dirname( __file__)
  for filename in os.listdir(model_dir):
      if not re.match(MODEL_RE, filename) or filename == "__init__.py":
          continue
      # Import the model file and find all clases inside it.
      model_module = __import__('%s.%s' % (PACKAGE, filename[:-3]),
                                {}, {},
                                filename[:-3])
      for name in dir(model_module):
          item = getattr(model_module, name)
          if not isinstance(item, (type, types.ClassType)):
              continue
          # Found a model, bring into the module namespace.
          exec "%s = item" % name
          model_names.append(name)
  
  # Hide everything other than the classes from other modules.
  __all__ = model_names
  
  
  
  
  
  
  