Created
June 26, 2013 01:10
-
-
Save bobobo1618/5863923 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
Traceback (most recent call last): | |
File "<console>", line 1, in <module> | |
File "/home/lucas/Dev/Kogan/Support-Parts-Inventory/virtualenv/lib/python2.7/site-packages/django/db/models/base.py", line 546, in save | |
force_update=force_update, update_fields=update_fields) | |
File "/home/lucas/Dev/Kogan/Support-Parts-Inventory/virtualenv/lib/python2.7/site-packages/django/db/models/base.py", line 650, in save_base | |
result = manager._insert([self], fields=fields, return_id=update_pk, using=using, raw=raw) | |
File "/home/lucas/Dev/Kogan/Support-Parts-Inventory/virtualenv/lib/python2.7/site-packages/django/db/models/manager.py", line 215, in _insert | |
return insert_query(self.model, objs, fields, **kwargs) | |
File "/home/lucas/Dev/Kogan/Support-Parts-Inventory/virtualenv/lib/python2.7/site-packages/django/db/models/query.py", line 1661, in insert_query | |
return query.get_compiler(using=using).execute_sql(return_id) | |
File "/home/lucas/Dev/Kogan/Support-Parts-Inventory/virtualenv/lib/python2.7/site-packages/django/db/models/sql/compiler.py", line 937, in execute_sql | |
cursor.execute(sql, params) | |
File "/home/lucas/Dev/Kogan/Support-Parts-Inventory/virtualenv/lib/python2.7/site-packages/django/db/backends/util.py", line 41, in execute | |
return self.cursor.execute(sql, params) | |
File "/home/lucas/Dev/Kogan/Support-Parts-Inventory/virtualenv/lib/python2.7/site-packages/django/db/backends/sqlite3/base.py", line 364, in execute | |
six.reraise(utils.IntegrityError, utils.IntegrityError(*tuple(e.args)), sys.exc_info()[2]) | |
File "/home/lucas/Dev/Kogan/Support-Parts-Inventory/virtualenv/lib/python2.7/site-packages/django/db/backends/sqlite3/base.py", line 362, in execute | |
return Database.Cursor.execute(self, query, params) | |
IntegrityError: barcodes_barcode.content_type_id may not be NULL |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment