zhaque/saaskit-core

Automated - Error encountered at /accounts/login/ from 127.0.0.1

Opened this issue · 0 comments

Traceback (most recent call last):


  File "/Users/ilan/mypython/lib/python2.6/site-packages/django/core/handlers/base.py", line 100, in get_response
response = callback(request, *callback_args, **callback_kwargs)


  File "/Users/ilan/mypython/lib/python2.6/site-packages/django/views/decorators/cache.py", line 69, in _wrapped_view_func
response = view_func(request, *args, **kwargs)


  File "/Users/ilan/workspace/rsmepinc/apps/acts/views.py", line 16, in login
return django_login(request, template_name, redirect_field_name)


  File "/Users/ilan/mypython/lib/python2.6/site-packages/django/utils/decorators.py", line 76, in _wrapped_view
response = view_func(request, *args, **kwargs)


  File "/Users/ilan/mypython/lib/python2.6/site-packages/django/views/decorators/cache.py", line 69, in _wrapped_view_func
response = view_func(request, *args, **kwargs)


  File "/Users/ilan/mypython/lib/python2.6/site-packages/django/contrib/auth/views.py", line 45, in login
auth_login(request, form.get_user())


  File "/Users/ilan/mypython/lib/python2.6/site-packages/django/contrib/auth/__init__.py", line 69, in login
user.save()


  File "/Users/ilan/mypython/lib/python2.6/site-packages/django/db/models/base.py", line 434, in save
self.save_base(using=using, force_insert=force_insert, force_update=force_update)


  File "/Users/ilan/mypython/lib/python2.6/site-packages/django/db/models/base.py", line 542, in save_base
created=(not record_exists), raw=raw)


  File "/Users/ilan/mypython/lib/python2.6/site-packages/django/dispatch/dispatcher.py", line 162, in send
response = receiver(signal=self, sender=sender, **named)


  File "/Users/ilan/mypython/src/pinax/pinax/apps/account/models.py", line 76, in create_account
account, created = Account.objects.get_or_create(user=instance)


  File "/Users/ilan/mypython/lib/python2.6/site-packages/django/db/models/manager.py", line 135, in get_or_create
return self.get_query_set().get_or_create(**kwargs)


  File "/Users/ilan/mypython/lib/python2.6/site-packages/django/db/models/query.py", line 366, in get_or_create
return self.get(**kwargs), False


  File "/Users/ilan/mypython/lib/python2.6/site-packages/django/db/models/query.py", line 336, in get
num = len(clone)


  File "/Users/ilan/mypython/lib/python2.6/site-packages/django/db/models/query.py", line 81, in __len__
self._result_cache = list(self.iterator())


  File "/Users/ilan/mypython/lib/python2.6/site-packages/django/db/models/query.py", line 269, in iterator
for row in compiler.results_iter():


  File "/Users/ilan/mypython/lib/python2.6/site-packages/django/db/models/sql/compiler.py", line 672, in results_iter
for rows in self.execute_sql(MULTI):


  File "/Users/ilan/mypython/lib/python2.6/site-packages/django/db/models/sql/compiler.py", line 727, in execute_sql
cursor.execute(sql, params)


  File "/Users/ilan/mypython/lib/python2.6/site-packages/django/db/backends/util.py", line 15, in execute
return self.cursor.execute(sql, params)


  File "/Users/ilan/mypython/lib/python2.6/site-packages/django/db/backends/postgresql_psycopg2/base.py", line 44, in execute
return self.cursor.execute(query, args)


DatabaseError: relation "account_account" does not exist

LINE 1: ...nt"."timezone", "account_account"."language" FROM "account_a...
^