def __django_version_setup():
  """Selects a particular Django version to load."""
  django_version = _config_handle.django_version

  if django_version is not None:


    from google.appengine.dist import use_library
    use_library('django', str(django_version))
  else:



    from google.appengine.dist import _library
    version, explicit = _library.installed.get('django', ('0.96', False))
    if not explicit:
      logging.warn('You are using the default Django version (%s). '
                   'The default Django version will change in an '
                   'App Engine release in the near future. '
                   'Please call use_library() to explicitly select a '
                   'Django version. '
                   'For more information see %s',
                   version,
                   'https://developers.google.com/appengine/docs/python/tools/'
                   'libraries#Django')
    try:



      import django
      if not hasattr(django, 'VERSION'):
        from django import v0_96
    except __HOLE__:

      pass
dataset/ETHPy150Open AppScale/appscale/AppServer/google/appengine/ext/webapp/__init__.py/__django_version_setup