Sophia, Please check if you have enabled the app 'django.contrib.sessions' in your INSTALLED_APPS, if not do that and then do a syncdb, this issue should be resolved.
Thanks and Regards, Swaroop Shankar V On Sun, Mar 18, 2012 at 2:41 AM, Sophia <[email protected]> wrote: > Hi all, > > I'm trying to set my admin settings so I will get the web page asking for > user name and password, I did all the settings that is needed and mentioned > in the online django book(chapter6), but the page keep giving me this error > : > > Exception Type: DatabaseError Exception Value: > > no such table: django_session > > > this my settings.py what could be wrong with my code? > > DATABASES = { > 'default': { > 'ENGINE': 'django.db.backends.sqlite3', > 'NAME': 'test.db', > 'USER': '', > 'PASSWORD': '', > 'HOST': '', > 'PORT': '', > } > } > > Thanks in advance > Sophia > > -- > 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/-/huWdNc8xUycJ. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/django-users?hl=en. > -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

