List Info

Thread: django_site doesn't exist error




django_site doesn't exist error
user name
2007-12-25 11:03:43
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-usersgooglegroups.com
To unsubscribe from this group, send email to
django-users-unsubscribegooglegroups.com
For more options, visit this group at htt
p://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---


Re: django_site doesn't exist error
user name
2007-12-25 11:51:37
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-usersgooglegroups.com
To unsubscribe from this group, send email to
django-users-unsubscribegooglegroups.com
For more options, visit this group at htt
p://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---


[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )