Sophia, Could you please provide me with your settings.py file? On Mar 19, 2012 4:04 AM, "Sophia" <[email protected]> wrote:
> Swaroop, > > I run sync.db this is what it shows after running sync.db : > > Creating tables ... > Installing custom SQL ... > Installing indexes ... > No fixtures found. > > Process finished with exit code 0 > > without any error, but it still doesn't work, would you please help me > with it, I really stuck :( > > > On Saturday, March 17, 2012 2:46:25 PM UTC-7, Swaroop Shankar wrote: >> >> 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 <[email protected]> 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 <[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/* >>>>> *ms**g/django-users/-/**huWdNc8xUycJ<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 >>>>> django-users+unsubscribe@**googl**egroups.com<django-users%[email protected]> >>>>> . >>>>> 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<https://groups.google.com/d/msg/django-users/-/DkRv66Jz-lYJ> >>> . >>> >>> To post to this group, send email to [email protected]. >>> To unsubscribe from this group, send email to django-users+unsubscribe@* >>> *googlegroups.com <django-users%[email protected]>. >>> 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> >>> . >>> >> >> > On Saturday, March 17, 2012 2:46:25 PM UTC-7, Swaroop Shankar wrote: >> >> 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 <[email protected]> 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 <[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/* >>>>> *ms**g/django-users/-/**huWdNc8xUycJ<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 >>>>> django-users+unsubscribe@**googl**egroups.com<django-users%[email protected]> >>>>> . >>>>> 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<https://groups.google.com/d/msg/django-users/-/DkRv66Jz-lYJ> >>> . >>> >>> To post to this group, send email to [email protected]. >>> To unsubscribe from this group, send email to django-users+unsubscribe@* >>> *googlegroups.com <django-users%[email protected]>. >>> 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/-/0ic5kH1PfwIJ. > 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.

