Did you run the syncdb after enabling it? While doing a syncdb did you encounter any errors? From the error it looks like django_session table is not created.
Thanks and Regards, Swaroop Shankar V On Sun, Mar 18, 2012 at 3:07 AM, Sophia <b.mirshafie...@gmail.com> wrote: > Thank you for helping, I had enabled it. But I don't know what's wrong > with it! > > > On Saturday, March 17, 2012 2:23:10 PM UTC-7, Swaroop Shankar wrote: >> >> 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 <b.mirshafie...@gmail.com> 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<https://groups.google.com/d/msg/django-users/-/huWdNc8xUycJ> >>> . >>> 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 <django-users%2bunsubscr...@googlegroups.com>. >>> For more options, visit this group at http://groups.google.com/** >>> group/django-users?hl=en<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 view this discussion on the web visit > https://groups.google.com/d/msg/django-users/-/DkRv66Jz-lYJ. > > To post to this group, send email to django-users@googlegroups.com. > To unsubscribe from this group, send email to > django-users+unsubscr...@googlegroups.com. > 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 django-users@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.