1 | Environment:
|
---|
2 |
|
---|
3 |
|
---|
4 | Request Method: POST
|
---|
5 | Request URL: http://127.0.0.1:8000/admin/showcase/product/add/?category=ind-foo
|
---|
6 |
|
---|
7 | Django Version: 1.7.7
|
---|
8 | Python Version: 3.4.3
|
---|
9 | Installed Applications:
|
---|
10 | ('django.contrib.admin',
|
---|
11 | 'django.contrib.auth',
|
---|
12 | 'django.contrib.contenttypes',
|
---|
13 | 'django.contrib.sessions',
|
---|
14 | 'django.contrib.messages',
|
---|
15 | 'django.contrib.staticfiles',
|
---|
16 | 'custom_user',
|
---|
17 | 'imagekit',
|
---|
18 | 'pipeline',
|
---|
19 | 'storages',
|
---|
20 | 'test_project.base',
|
---|
21 | 'test_project.showcase')
|
---|
22 | Installed Middleware:
|
---|
23 | ('django.contrib.sessions.middleware.SessionMiddleware',
|
---|
24 | 'django.middleware.common.CommonMiddleware',
|
---|
25 | 'django.middleware.csrf.CsrfViewMiddleware',
|
---|
26 | 'django.contrib.auth.middleware.AuthenticationMiddleware',
|
---|
27 | 'django.contrib.auth.middleware.SessionAuthenticationMiddleware',
|
---|
28 | 'django.contrib.messages.middleware.MessageMiddleware',
|
---|
29 | 'django.middleware.clickjacking.XFrameOptionsMiddleware')
|
---|
30 |
|
---|
31 |
|
---|
32 | Traceback:
|
---|
33 | File "/home/emyller/Devel/_misc/python-envs/test_project/lib/python3.4/site-packages/django/core/handlers/base.py" in get_response
|
---|
34 | 111. response = wrapped_callback(request, *callback_args, **callback_kwargs)
|
---|
35 | File "/home/emyller/Devel/_misc/python-envs/test_project/lib/python3.4/site-packages/django/contrib/admin/options.py" in wrapper
|
---|
36 | 583. return self.admin_site.admin_view(view)(*args, **kwargs)
|
---|
37 | File "/home/emyller/Devel/_misc/python-envs/test_project/lib/python3.4/site-packages/django/utils/decorators.py" in _wrapped_view
|
---|
38 | 105. response = view_func(request, *args, **kwargs)
|
---|
39 | File "/home/emyller/Devel/_misc/python-envs/test_project/lib/python3.4/site-packages/django/views/decorators/cache.py" in _wrapped_view_func
|
---|
40 | 52. response = view_func(request, *args, **kwargs)
|
---|
41 | File "/home/emyller/Devel/_misc/python-envs/test_project/lib/python3.4/site-packages/django/contrib/admin/sites.py" in inner
|
---|
42 | 206. return view(request, *args, **kwargs)
|
---|
43 | File "/home/emyller/Devel/7ws/customers/test_project/test_project/showcase/admin/product.py" in add_view
|
---|
44 | 45. return super(ProductAdmin, self).add_view(request)
|
---|
45 | File "/home/emyller/Devel/_misc/python-envs/test_project/lib/python3.4/site-packages/django/contrib/admin/options.py" in add_view
|
---|
46 | 1453. return self.changeform_view(request, None, form_url, extra_context)
|
---|
47 | File "/home/emyller/Devel/7ws/customers/test_project/test_project/showcase/admin/product.py" in changeform_view
|
---|
48 | 33. request, object_id, *args, **kwargs)
|
---|
49 | File "/home/emyller/Devel/_misc/python-envs/test_project/lib/python3.4/site-packages/django/utils/decorators.py" in _wrapper
|
---|
50 | 29. return bound_func(*args, **kwargs)
|
---|
51 | File "/home/emyller/Devel/_misc/python-envs/test_project/lib/python3.4/site-packages/django/utils/decorators.py" in _wrapped_view
|
---|
52 | 105. response = view_func(request, *args, **kwargs)
|
---|
53 | File "/home/emyller/Devel/_misc/python-envs/test_project/lib/python3.4/site-packages/django/utils/decorators.py" in bound_func
|
---|
54 | 25. return func.__get__(self, type(self))(*args2, **kwargs2)
|
---|
55 | File "/home/emyller/Devel/_misc/python-envs/test_project/lib/python3.4/site-packages/django/db/transaction.py" in inner
|
---|
56 | 394. return func(*args, **kwargs)
|
---|
57 | File "/home/emyller/Devel/_misc/python-envs/test_project/lib/python3.4/site-packages/django/contrib/admin/options.py" in changeform_view
|
---|
58 | 1404. self.save_model(request, new_object, form, not add)
|
---|
59 | File "/home/emyller/Devel/_misc/python-envs/test_project/lib/python3.4/site-packages/django/contrib/admin/options.py" in save_model
|
---|
60 | 1045. obj.save()
|
---|
61 | File "/home/emyller/Devel/7ws/customers/test_project/test_project/showcase/models.py" in save
|
---|
62 | 110. super(Product, self).save(**kwargs)
|
---|
63 | File "/home/emyller/Devel/_misc/python-envs/test_project/lib/python3.4/site-packages/django/db/models/base.py" in save
|
---|
64 | 589. force_update=force_update, update_fields=update_fields)
|
---|
65 | File "/home/emyller/Devel/_misc/python-envs/test_project/lib/python3.4/site-packages/django/db/models/base.py" in save_base
|
---|
66 | 617. updated = self._save_table(raw, cls, force_insert, force_update, using, update_fields)
|
---|
67 | File "/home/emyller/Devel/_misc/python-envs/test_project/lib/python3.4/site-packages/django/db/models/base.py" in _save_table
|
---|
68 | 679. forced_update)
|
---|
69 | File "/home/emyller/Devel/_misc/python-envs/test_project/lib/python3.4/site-packages/django/db/models/base.py" in _do_update
|
---|
70 | 723. return filtered._update(values) > 0
|
---|
71 | File "/home/emyller/Devel/_misc/python-envs/test_project/lib/python3.4/site-packages/django/db/models/query.py" in _update
|
---|
72 | 600. return query.get_compiler(self.db).execute_sql(CURSOR)
|
---|
73 | File "/home/emyller/Devel/_misc/python-envs/test_project/lib/python3.4/site-packages/django/db/models/sql/compiler.py" in execute_sql
|
---|
74 | 1004. cursor = super(SQLUpdateCompiler, self).execute_sql(result_type)
|
---|
75 | File "/home/emyller/Devel/_misc/python-envs/test_project/lib/python3.4/site-packages/django/db/models/sql/compiler.py" in execute_sql
|
---|
76 | 786. cursor.execute(sql, params)
|
---|
77 | File "/home/emyller/Devel/_misc/python-envs/test_project/lib/python3.4/site-packages/django/db/backends/utils.py" in execute
|
---|
78 | 81. return super(CursorDebugWrapper, self).execute(sql, params)
|
---|
79 | File "/home/emyller/Devel/_misc/python-envs/test_project/lib/python3.4/site-packages/django/db/backends/utils.py" in execute
|
---|
80 | 65. return self.cursor.execute(sql, params)
|
---|
81 | File "/home/emyller/Devel/_misc/python-envs/test_project/lib/python3.4/site-packages/django/db/utils.py" in __exit__
|
---|
82 | 94. six.reraise(dj_exc_type, dj_exc_value, traceback)
|
---|
83 | File "/home/emyller/Devel/_misc/python-envs/test_project/lib/python3.4/site-packages/django/utils/six.py" in reraise
|
---|
84 | 658. raise value.with_traceback(tb)
|
---|
85 | File "/home/emyller/Devel/_misc/python-envs/test_project/lib/python3.4/site-packages/django/db/backends/utils.py" in execute
|
---|
86 | 65. return self.cursor.execute(sql, params)
|
---|
87 | File "/home/emyller/Devel/_misc/python-envs/test_project/lib/python3.4/site-packages/django/db/backends/sqlite3/base.py" in execute
|
---|
88 | 485. return Database.Cursor.execute(self, query, params)
|
---|
89 |
|
---|
90 | Exception Type: IntegrityError at /admin/showcase/product/add/
|
---|
91 | Exception Value: NOT NULL constraint failed: showcase_product.created
|
---|