;/usr/local/lib/python2.7/site-packages/django/contrib/sessions/backends/base.py"
>>> in _get_session*
>>> * 181. self._session_cache = self.load()*
>>> *File
>>> "/usr/local/lib/python2.7/site-packages/django/contrib/sessions/backends/db.py"
&
lib/python2.7/site-packages/django/db/models/query.py"
>> in get*
>> * 328. num = len(clone)*
>> *File "/usr/local/lib/python2.7/site-packages/django/db/models/query.py"
>> in __len__*
>> * 144. self._fetch_all()*
>> *File "/usr/lo
t; in _fetch_all*
> * 965. self._result_cache = list(self.iterator())*
> *File "/usr/local/lib/python2.7/site-packages/django/db/models/query.py"
> in iterator*
> * 238. results = compiler.execute_sql()*
> *File
> "/usr/local/lib/python2.7/
go/db/backends/utils.py"
in execute*
* 64. return self.cursor.execute(sql, params)*
*File "/usr/local/lib/python2.7/site-packages/django/db/utils.py" in
__exit__*
* 98. six.reraise(dj_exc_type, dj_exc_value, traceback)*
*File "/usr/local/lib/pytho
Run migrations all over the app again. Plus run -python manage.py syncdb
On Thursday, 27 February 2020 06:39:31 UTC+5:30, Hella Nick wrote:
>
> Me to,My error was is
> Traceback (most recent call last):
> File
> "D:\Python3\lib\site-packages\django\contrib\sessions\backends\base.py",
> line
Me to,My error was is
Traceback (most recent call last):
File
"D:\Python3\lib\site-packages\django\contrib\sessions\backends\base.py",
line 190, in _get_session
return self._session_cache
AttributeError: 'SessionStore' object has no attribute '_session_cache'
During handling of the above
On 12 February 2010 11:26, chiranjeevi muttoju
<chiranjeevi.mutt...@gmail.com> wrote:
> Hi,
> When i'm using the session in django i'm getting this error relation
> "django_session" does not exist. what is that error.. if any one of u know
> please help me
Hi,
When i'm using the session in django i'm getting this error relation
"django_session" does not exist. what is that error.. if any one of u know
please help me..
My code is:
>>> from django.contrib.sessions.backends.db import SessionStore
>>>
f.execute_sql
> (MULTI):
> File "/usr/lib/python2.6/site-packages/django/db/models/sql/
> query.py", line 2369, in execute_sql\n cursor.execute(sql, params)
> File "/usr/lib/python2.6/site-packages/django/db/backends/util.py",
> line 19, in execute\n return self.cursor
_iter\nfor rows in self.execute_sql
(MULTI):
File "/usr/lib/python2.6/site-packages/django/db/models/sql/
query.py", line 2369, in execute_sql\ncursor.execute(sql, params)
File "/usr/lib/python2.6/site-packages/django/db/backends/util.py",
line 19, in execute\nreturn
10 matches
Mail list logo