Created
January 18, 2016 03:39
-
-
Save brunitob/c4e680fe48a36fc2aef6 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Environment: | |
Request Method: POST | |
Request URL: http://127.0.0.1:8000/accounts/register/ | |
Django Version: 1.8 | |
Python Version: 2.7.11 | |
Installed Applications: | |
('django.contrib.admin', | |
'django.contrib.auth', | |
'django.contrib.contenttypes', | |
'django.contrib.sessions', | |
'django.contrib.messages', | |
'django.contrib.staticfiles', | |
'registration', | |
'store') | |
Installed Middleware: | |
('django.contrib.sessions.middleware.SessionMiddleware', | |
'django.middleware.common.CommonMiddleware', | |
'django.middleware.csrf.CsrfViewMiddleware', | |
'django.contrib.auth.middleware.AuthenticationMiddleware', | |
'django.contrib.auth.middleware.SessionAuthenticationMiddleware', | |
'django.contrib.messages.middleware.MessageMiddleware', | |
'django.middleware.clickjacking.XFrameOptionsMiddleware', | |
'django.middleware.security.SecurityMiddleware') | |
Traceback: | |
File "/Users/brunitob/virtualenvs/bookstore/lib/python2.7/site-packages/django/core/handlers/base.py" in get_response | |
132. response = wrapped_callback(request, *callback_args, **callback_kwargs) | |
File "/Users/brunitob/virtualenvs/bookstore/lib/python2.7/site-packages/django/views/generic/base.py" in view | |
71. return self.dispatch(request, *args, **kwargs) | |
File "/Users/brunitob/virtualenvs/bookstore/lib/python2.7/site-packages/registration/views.py" in dispatch | |
79. return super(RegistrationView, self).dispatch(request, *args, **kwargs) | |
File "/Users/brunitob/virtualenvs/bookstore/lib/python2.7/site-packages/django/views/generic/base.py" in dispatch | |
89. return handler(request, *args, **kwargs) | |
File "/Users/brunitob/virtualenvs/bookstore/lib/python2.7/site-packages/registration/views.py" in post | |
35. return self.form_valid(request, form) | |
File "/Users/brunitob/virtualenvs/bookstore/lib/python2.7/site-packages/registration/views.py" in form_valid | |
82. new_user = self.register(request, **form.cleaned_data) | |
File "/Users/brunitob/virtualenvs/bookstore/lib/python2.7/site-packages/registration/backends/default/views.py" in register | |
91. request=request, | |
File "/Users/brunitob/virtualenvs/bookstore/lib/python2.7/site-packages/registration/models.py" in create_inactive_user | |
91. registration_profile = self.create_profile(new_user) | |
File "/Users/brunitob/virtualenvs/bookstore/lib/python2.7/site-packages/registration/models.py" in create_profile | |
115. activation_key=activation_key) | |
File "/Users/brunitob/virtualenvs/bookstore/lib/python2.7/site-packages/django/db/models/manager.py" in manager_method | |
127. return getattr(self.get_queryset(), name)(*args, **kwargs) | |
File "/Users/brunitob/virtualenvs/bookstore/lib/python2.7/site-packages/django/db/models/query.py" in create | |
348. obj.save(force_insert=True, using=self.db) | |
File "/Users/brunitob/virtualenvs/bookstore/lib/python2.7/site-packages/django/db/models/base.py" in save | |
710. force_update=force_update, update_fields=update_fields) | |
File "/Users/brunitob/virtualenvs/bookstore/lib/python2.7/site-packages/django/db/models/base.py" in save_base | |
738. updated = self._save_table(raw, cls, force_insert, force_update, using, update_fields) | |
File "/Users/brunitob/virtualenvs/bookstore/lib/python2.7/site-packages/django/db/models/base.py" in _save_table | |
822. result = self._do_insert(cls._base_manager, using, fields, update_pk, raw) | |
File "/Users/brunitob/virtualenvs/bookstore/lib/python2.7/site-packages/django/db/models/base.py" in _do_insert | |
861. using=using, raw=raw) | |
File "/Users/brunitob/virtualenvs/bookstore/lib/python2.7/site-packages/django/db/models/manager.py" in manager_method | |
127. return getattr(self.get_queryset(), name)(*args, **kwargs) | |
File "/Users/brunitob/virtualenvs/bookstore/lib/python2.7/site-packages/django/db/models/query.py" in _insert | |
920. return query.get_compiler(using=using).execute_sql(return_id) | |
File "/Users/brunitob/virtualenvs/bookstore/lib/python2.7/site-packages/django/db/models/sql/compiler.py" in execute_sql | |
963. cursor.execute(sql, params) | |
File "/Users/brunitob/virtualenvs/bookstore/lib/python2.7/site-packages/django/db/backends/utils.py" in execute | |
79. return super(CursorDebugWrapper, self).execute(sql, params) | |
File "/Users/brunitob/virtualenvs/bookstore/lib/python2.7/site-packages/django/db/backends/utils.py" in execute | |
64. return self.cursor.execute(sql, params) | |
File "/Users/brunitob/virtualenvs/bookstore/lib/python2.7/site-packages/django/db/utils.py" in __exit__ | |
97. six.reraise(dj_exc_type, dj_exc_value, traceback) | |
File "/Users/brunitob/virtualenvs/bookstore/lib/python2.7/site-packages/django/db/backends/utils.py" in execute | |
64. return self.cursor.execute(sql, params) | |
File "/Users/brunitob/virtualenvs/bookstore/lib/python2.7/site-packages/django/db/backends/sqlite3/base.py" in execute | |
318. return Database.Cursor.execute(self, query, params) | |
Exception Type: IntegrityError at /accounts/register/ | |
Exception Value: NOT NULL constraint failed: registration_registrationprofile.activated |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment