title: Django admin DoesNotExist at /admin/
body: <p>I have some problems with Django admin.</p>
  
  <p>after syncdb, the result is:</p>
  
  <pre><code>  Creating tables ...
    Installing custom SQL ...
    Installing indexes ...
    No fixtures found.
  </code></pre>
  
  <p>What does this mean?</p>
  
  <p>Anyway, when I visit the website admin panel <a href="http://www.example.com/admin/" rel="noreferrer">http://www.example.com/admin/</a>, I receive this message:</p>
  
  <pre><code>DoesNotExist at /admin/
  Site matching query does not exist.
  </code></pre>
  
  <p>setting.py contains: </p>
  
  <pre><code>INSTALLED_APPS = (
      'django.contrib.auth',
      'django.contrib.contenttypes',
      'django.contrib.sessions',
      'django.contrib.sites',
      'django.contrib.messages',
      'django.contrib.staticfiles',
      # Uncomment the next line to enable the admin:
      'django.contrib.admin',
  )
  </code></pre>
  
  <p>ur.py contains:</p>
  
  <pre><code>from django.conf.urls.defaults import patterns, include, url
  
  # Uncomment the next two lines to enable the admin:
  from django.contrib import admin
  admin.autodiscover()
  
  urlpatterns = patterns('',
      # Examples:
      # url(r'^$', 'rshd.views.home', name='home'),
      # url(r'^rshd/', include('rshd.foo.urls')),
  
      # Uncomment the admin/doc line below to enable admin documentation:
       url(r'^admin/doc/', include('django.contrib.admindocs.urls')),
  
      # Uncomment the next line to enable the admin:
       url(r'^admin/', include(admin.site.urls)),
  )
  </code></pre>