Re: Exception Value: relation "django_session" does not exist

2021-05-24 Thread RANGA BHARATH JINKA
ib/python2.7/site-packages/django/contrib/auth/__init__.py" in >>> _get_user_session_key* >>> * 59. return >>> get_user_model()._meta.pk.to_python(request.session[SESSION_KEY])* >>> *File >>> "/usr/local/lib/python2.7/site-packages/django/contrib/sessi

Re: Exception Value: relation "django_session" does not exist

2021-05-24 Thread Michał T . Lorenc
gt;> *File >> "/usr/local/lib/python2.7/site-packages/django/contrib/sessions/backends/db.py" >> in load* >> * 21. expire_date__gt=timezone.now()* >> *File >> "/usr/local/lib/python2.7/site-packages/django/db/models/manager.py" in >

Re: Exception Value: relation "django_session" does not exist

2021-05-24 Thread RANGA BHARATH JINKA
27. return getattr(self.get_queryset(), name)(*args, > **kwargs)* > *File "/usr/local/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/mode

Exception Value: relation "django_session" does not exist

2021-05-24 Thread Mic
uot; in iterator* * 238. results = compiler.execute_sql()* *File "/usr/local/lib/python2.7/site-packages/django/db/models/sql/compiler.py" in execute_sql* * 840. cursor.execute(sql, params)* *File "/usr/local/lib/python2.7/site-packages/django/db/backends/utils.p

Re: relation "django_session" does not exist

2020-02-26 Thread Naveen Arora
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 19

Re: relation "django_session" does not exist

2020-02-26 Thread Hella Nick
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 e

Re: relation "django_session" does not exist

2010-02-12 Thread rebus_
On 12 February 2010 11:26, chiranjeevi muttoju 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.. > My code is: > >>>&g

relation "django_session" does not exist

2010-02-12 Thread chiranjeevi muttoju
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 >

Re: ProgrammingError: relation "django_session" does not exist

2009-12-13 Thread rebus_
le "/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.execute(sql, params) > Pr

ProgrammingError: relation "django_session" does not exist

2009-12-12 Thread newpublic
_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