This week only. Pastebin PRO Accounts Christmas Special! Don't miss out!Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on May 13th, 2014  |  syntax: Python  |  size: 2.33 KB  |  views: 14  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. Traceback (most recent call last):
  2.   File "/Users/schmitch/PycharmProjects/django2/django/test/testcases.py", line 182, in __call__
  3.     self._post_teardown()
  4.   File "/Users/schmitch/PycharmProjects/django2/django/test/testcases.py", line 831, in _post_teardown
  5.     self._fixture_teardown()
  6.   File "/Users/schmitch/PycharmProjects/django2/django/test/testcases.py", line 866, in _fixture_teardown
  7.     connections[db_name]._test_serialized_contents
  8.   File "/Users/schmitch/PycharmProjects/django2/django/db/backends/creation.py", line 412, in deserialize_db_from_string
  9.     obj.save()
  10.   File "/Users/schmitch/PycharmProjects/django2/django/core/serializers/base.py", line 173, in save
  11.     models.Model.save_base(self.object, using=using, raw=True)
  12.   File "/Users/schmitch/PycharmProjects/django2/django/db/models/base.py", line 622, in save_base
  13.     updated = self._save_table(raw, cls, force_insert, force_update, using, update_fields)
  14.   File "/Users/schmitch/PycharmProjects/django2/django/db/models/base.py", line 703, in _save_table
  15.     result = self._do_insert(cls._base_manager, using, fields, update_pk, raw)
  16.   File "/Users/schmitch/PycharmProjects/django2/django/db/models/base.py", line 736, in _do_insert
  17.     using=using, raw=raw)
  18.   File "/Users/schmitch/PycharmProjects/django2/django/db/models/manager.py", line 80, in manager_method
  19.     return getattr(self.get_queryset(), name)(*args, **kwargs)
  20.   File "/Users/schmitch/PycharmProjects/django2/django/db/models/query.py", line 915, in _insert
  21.     return query.get_compiler(using=using).execute_sql(return_id)
  22.   File "/Users/schmitch/PycharmProjects/django2/django/db/models/sql/compiler.py", line 919, in execute_sql
  23.     cursor.execute(sql, params)
  24.   File "/Users/schmitch/PycharmProjects/django2/django/db/backends/utils.py", line 63, in execute
  25.     return self.cursor.execute(sql, params)
  26.   File "/Users/schmitch/PycharmProjects/django2/django/db/utils.py", line 94, in __exit__
  27.     six.reraise(dj_exc_type, dj_exc_value, traceback)
  28.   File "/Users/schmitch/PycharmProjects/django2/django/db/backends/utils.py", line 63, in execute
  29.     return self.cursor.execute(sql, params)
  30.   File "/Users/schmitch/PycharmProjects/django2/django/db/backends/sqlite3/base.py", line 484, in execute
  31.     return Database.Cursor.execute(self, query, params)
  32. IntegrityError: columns app_label, model are not unique
clone this paste RAW Paste Data