Execute "./manage.py syncdb" to create django_site
table.
Hint: read error message to find solution.
On 25 ΔΕΛ, 20:03, "youngjin.mich... gmail.com"
<youngjin.mich... gmail.com> wrote:
> While I was following the chapter 12 (Session, Users
and Registration)
> of the Django book, I got "ProgrammingError at
/accounts/login/ (1146,
> "Table 'djangodb.django_site' doesn't
exist")" error when I went to
> "localhost:8000/accounts/login". I have
" (r'^accounts/login/$',
> login)," in the urlpatterns, and Django is
supposed to use a default
> template called login.html, but it didn't seem to work
properly.
>
> Can someone help me solve this problem?
>
> Thanks in advance.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "Django users" group.
To post to this group, send email to django-users googlegroups.com
To unsubscribe from this group, send email to
django-users-unsubscribe googlegroups.com
For more options, visit this group at htt
p://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---
|