Looks like you have missed char. Admi/login is requested not admin. I hope it is typo 14 лип. 2015 00:13 "elim" <[email protected]> пише:
> I got error when I did > $ python manage.py runserver > Performing system checks... > > System check identified no issues (0 silenced). > July 13, 2015 - 20:42:02 > Django version 1.8.3, using settings 'mysite.settings' > Starting development server at http://127.0.0.1:8000/ > Quit the server with CONTROL-C. > [13/Jul/2015 20:42:10]"GET /admin/ HTTP/1.1" 302 0 > [13/Jul/2015 20:42:10]"GET /admin/login/?next=/admin/ HTTP/1.1" 500 152252 > [13/Jul/2015 20:42:11]"GET /favicon.ico HTTP/1.1" 404 1936 > > submit the url http://localhost:8000/admin/ in browser I got error > below: > > DoesNotExist at /admi/login/ > Site matching query does not exist. > Request Method: GET > Request URL: http://localhost:8000/admin/login/?next=/admin/ > Django Version: 1.8.3 > Exception Type: DoesNotExist > Exception Value: > Site matching query does not exist. > Exception Location: > /usr/local/lib/python2.7/dist-packages/Django-1.8.3-py2.7.egg/django/db/models/query.py > in get, line 334 > Python Executable: /usr/bin/python > Python Version: 2.7.6 > Python Path: > ['/home/elim/Projects/python/mydjango', > '/usr/local/lib/python2.7/dist-packages/Django-1.8.3-py2.7.egg', > '/usr/lib/python2.7', > '/usr/lib/python2.7/plat-x86_64-linux-gnu', > '/usr/lib/python2.7/lib-tk', > '/usr/lib/python2.7/lib-old', > '/usr/lib/python2.7/lib-dynload', > '/usr/local/lib/python2.7/dist-packages', > '/usr/lib/python2.7/dist-packages', > '/usr/lib/python2.7/dist-packages/PILcompat', > '/usr/lib/python2.7/dist-packages/gst-0.10', > '/usr/lib/python2.7/dist-packages/gtk-2.0', > '/usr/lib/python2.7/dist-packages/ubuntu-sso-client'] > Server time: Mon, 13 Jul 2015 20:42:10 +0000 > > I'd like to know how to debug this. What's "Site matching query does not > exist." mean? > How to fix this? > > Thanks a lot. > > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/django-users. > To view this discussion on the web visit > https://groups.google.com/d/msgid/django-users/772e41c0-4ca6-44da-be85-358d78e8b884%40googlegroups.com > <https://groups.google.com/d/msgid/django-users/772e41c0-4ca6-44da-be85-358d78e8b884%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CADTRxJOej5WWkPbtk9Qnu2bEf8zqhc75DNFqSNf5wPaL_S9%3Dmg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.

