Haikson

Untitled

Nov 7th, 2016
277
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.37 KB | None | 0 0
  1. Traceback (most recent call last):
  2. File "manage.py", line 11, in <module>
  3. execute_from_command_line(sys.argv)
  4. File "/env/techelec/local/lib/python2.7/site-packages/django/core/management/__init__.py", line 367, in execute_from_command_line
  5. utility.execute()
  6. File "/env/techelec/local/lib/python2.7/site-packages/django/core/management/__init__.py", line 359, in execute
  7. self.fetch_command(subcommand).run_from_argv(self.argv)
  8. File "/env/techelec/local/lib/python2.7/site-packages/django/core/management/base.py", line 294, in run_from_argv
  9. self.execute(*args, **cmd_options)
  10. File "/env/techelec/local/lib/python2.7/site-packages/django/core/management/base.py", line 345, in execute
  11. output = self.handle(*args, **options)
  12. File "/env/techelec/local/lib/python2.7/site-packages/django/core/management/commands/makemigrations.py", line 176, in handle
  13. migration_name=self.migration_name,
  14. File "/env/techelec/local/lib/python2.7/site-packages/django/db/migrations/autodetector.py", line 47, in changes
  15. changes = self._detect_changes(convert_apps, graph)
  16. File "/env/techelec/local/lib/python2.7/site-packages/django/db/migrations/autodetector.py", line 132, in _detect_changes
  17. self.old_apps = self.from_state.concrete_apps
  18. File "/env/techelec/local/lib/python2.7/site-packages/django/db/migrations/state.py", line 180, in concrete_apps
  19. self.apps = StateApps(self.real_apps, self.models, ignore_swappable=True)
  20. File "/env/techelec/local/lib/python2.7/site-packages/django/db/migrations/state.py", line 242, in __init__
  21. self.render_multiple(list(models.values()) + self.real_models)
  22. File "/env/techelec/local/lib/python2.7/site-packages/django/db/migrations/state.py", line 277, in render_multiple
  23. model.render(self)
  24. File "/env/techelec/local/lib/python2.7/site-packages/django/db/migrations/state.py", line 559, in render
  25. body,
  26. File "/env/techelec/local/lib/python2.7/site-packages/django/db/models/base.py", line 157, in __new__
  27. new_class.add_to_class(obj_name, obj)
  28. File "/env/techelec/local/lib/python2.7/site-packages/django/db/models/base.py", line 316, in add_to_class
  29. value.contribute_to_class(cls, name)
  30. File "/env/techelec/local/lib/python2.7/site-packages/django/db/models/manager.py", line 120, in contribute_to_class
  31. setattr(model, name, ManagerDescriptor(self))
  32. AttributeError: can't set attribute
Advertisement
Add Comment
Please, Sign In to add comment