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 helpDavid--DoesNotExist at /admin/
Site matching query does not exist.
Request Method: GET Request URL: http://127.0.0.1:8000/admin/ Django Version: 1.4.1 Exception Type: DoesNotExist Exception Value: Site matching query does not exist.Exception Location: /Library/Python/2.7/site-packages/django/db/models/query.py in get, line 366 Python Executable: /usr/bin/python Python Version: 2.7.1 Python 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...@googlegroups.com.
To unsubscribe from this group, send email to django-users...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
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.
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: GET Request URL: http://127.0.0.1:8000/admin/
Django Version: 1.4.1 Exception Type: DoesNotExist
Exception Value: Site matching query does not exist.
Exception Location:
/Library/Python/2.7/site-packages/django/db/models/query.py in get, line 366
Python Executable: /usr/bin/python Python Version: 2.7.1