Opened 8 years ago

Last modified 8 years ago

#18138 closed Uncategorized

Django admin site not working — at Initial Version

Reported by: melsebaey@… Owned by: nobody
Component: Uncategorized Version: 1.4
Severity: Normal Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no


I'm a new user for django, I started using the tutorial for ver 1.4 with python 2.7.1 on mac 10.7.3
when i try to open the admin site it' gives me the following error

DoesNotExist at /admin/
Site matching query does not exist.
Request Method: GET
Request URL:
Django Version: 1.4
Exception Type: DoesNotExist
Exception Value:
Site matching query does not exist.
Exception Location: /Library/Python/2.7/site-packages/Django-1.4-py2.7.egg/django/db/models/ in get, line 366
Python Executable: /usr/bin/python
Python Version: 2.7.1
Python Path:


Server time: Sun, 15 Apr 2012 07:08:37 -0500

This is the installed applications part in the


# Uncomment the next line to enable the admin:


# Uncomment the next line to enable admin documentation:



and this is the

rom django.conf.urls import patterns, include, url

# Uncomment the next two lines to enable the admin:
from django.contrib import admin

urlpatterns = patterns(,

# Examples:
# url(r'$', 'mysite1.views.home', name='home'),
# url(r'
mysite1/', include('')),

# 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(,



Change History (1)

Changed 8 years ago by melsebaey@…

Note: See TracTickets for help on using tickets.
Back to Top