Hi,

I am new to Django, I am actually starting its tutorial. On part 2 it 
enables the admin site, but I can't log in to it. The following error comes 
up (see at the bottom):

If I remember correctly I did not get prompt to create a superuser when I 
wrote *python manage.py syncdb*, so I am not sure if I do not have a 
superuser. I tried to create it with *python manage.py createsuperuser 
--username=david* but it is not working.

I am most certain it is something simple...and I tried to follow the steps 
as exact as I could. I appreciate your help.

David


DoesNotExist at /admin/

Site matching query does not exist.

Request Method:GETRequest URL:http://127.0.0.1:8000/admin/Django Version:
1.4.1Exception Type:DoesNotExistException Value:

Site matching query does not exist.

Exception Location:/Library/Python/2.7/site-packages/django/db/models/query.py 
in get, line 366Python Executable:/usr/bin/pythonPython Version:2.7.1Python 
Path:

['/Users/Dperezc/Desktop/Estudios independientes/Django/Proyecto1_Poll',
 '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python27.zip',
 '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7',
 
'/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-darwin',
 
'/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-mac',
 
'/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-mac/lib-scriptpackages',
 '/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python',
 
'/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-tk',
 
'/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-old',
 
'/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload',
 
'/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/PyObjC',
 '/Library/Python/2.7/site-packages']

Server time:Sat, 8 Sep 2012 18:45:28 -0600




-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/django-users/-/YzfZzN7HgtoJ.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to