title: DoesNotExist at /admin/login/ after upgrading to Django 1.8
body: <p>After upgrade from django 1.7 to 1.8, I can't able to access my admin portal. I get the following error:</p>
  
  <pre><code>DoesNotExist at /admin/login/
  Site matching query does not exist.
  </code></pre>
  
  <p>As mentioned in other questions, I have change my <code>TEMPLATES</code> setting, but it does not help.</p>
  
  <pre><code>TEMPLATES = [
      {
          'BACKEND': 'django.template.backends.django.DjangoTemplates',
          'DIRS': [
              os.path.join(BASE_DIR, 'MyANSRSource/templates/MyANSRSource/'),
              os.path.join(BASE_DIR, 'employee/template/'),
              os.path.join(BASE_DIR, 'employee/emp_photo/'),
          ],
          'APP_DIRS': True,
          'OPTIONS': {
              'context_processors': [
                  # Insert your TEMPLATE_CONTEXT_PROCESSORS here or use this
                  #global_settings.TEMPLATE_CONTEXT_PROCESSORS + (
                  #    'django.template.context_processors.request',
  
                  #),
                  # list if you haven't customized them:
                  'django.template.context_processors.request',
                  'django.contrib.auth.context_processors.auth',
                  'django.template.context_processors.debug',
                  'django.template.context_processors.i18n',
                  'django.template.context_processors.media',
                  'django.template.context_processors.static',
                  'django.template.context_processors.tz',
                  'django.contrib.messages.context_processors.messages',
              ],
          },
      },
  ]
  </code></pre>