Sophia,
I created a project, and tired your settings.py file on that project. Did a
syncdb and everything is working perfectly fine at my end. As i said before
it looks like due to some reason the django_session table is not getting
created at your end. Instead of running syncdb from pycharm environment try
to do that from the terminal and check if that table is being created or if
there are not much important code in your project just zip it and send
over. Will try at my end and will update you.

Thanks and Regards,
Swaroop Shankar V



On Mon, Mar 19, 2012 at 11:03 PM, Sophia <b.mirshafie...@gmail.com> wrote:

> Of course I attach it, Thanks for helping Swaroop.
>
>
> On Sunday, March 18, 2012 9:25:12 PM UTC-7, Swaroop Shankar wrote:
>>
>> Sophia,
>> Could you please provide me with your settings.py file?
>> On Mar 19, 2012 4:04 AM, "Sophia" <b.mirshafie...@gmail.com> 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 <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/**ms****g/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@**googl****egroups.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/*
>>>>> *ms**g/django-users/-/DkRv66Jz-**lYJ<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+unsubscribe@**googl**egroups.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>
>>>>> .
>>>>>
>>>>
>>>>
>>> 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 <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/**ms****g/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@**googl****egroups.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/*
>>>>> *ms**g/django-users/-/DkRv66Jz-**lYJ<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+unsubscribe@**googl**egroups.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/-/**0ic5kH1PfwIJ<https://groups.google.com/d/msg/django-users/-/0ic5kH1PfwIJ>
>>> .
>>> 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/-/2xcOHcE41RoJ.
>
> 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.

Reply via email to