Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Traceback (most recent call last):
- File "manage.py", line 11, in <module>
- execute_from_command_line(sys.argv)
- File "/env/techelec/local/lib/python2.7/site-packages/django/core/management/__init__.py", line 367, in execute_from_command_line
- utility.execute()
- File "/env/techelec/local/lib/python2.7/site-packages/django/core/management/__init__.py", line 359, in execute
- self.fetch_command(subcommand).run_from_argv(self.argv)
- File "/env/techelec/local/lib/python2.7/site-packages/django/core/management/base.py", line 294, in run_from_argv
- self.execute(*args, **cmd_options)
- File "/env/techelec/local/lib/python2.7/site-packages/django/core/management/base.py", line 345, in execute
- output = self.handle(*args, **options)
- File "/env/techelec/local/lib/python2.7/site-packages/django/core/management/commands/makemigrations.py", line 176, in handle
- migration_name=self.migration_name,
- File "/env/techelec/local/lib/python2.7/site-packages/django/db/migrations/autodetector.py", line 47, in changes
- changes = self._detect_changes(convert_apps, graph)
- File "/env/techelec/local/lib/python2.7/site-packages/django/db/migrations/autodetector.py", line 132, in _detect_changes
- self.old_apps = self.from_state.concrete_apps
- File "/env/techelec/local/lib/python2.7/site-packages/django/db/migrations/state.py", line 180, in concrete_apps
- self.apps = StateApps(self.real_apps, self.models, ignore_swappable=True)
- File "/env/techelec/local/lib/python2.7/site-packages/django/db/migrations/state.py", line 242, in __init__
- self.render_multiple(list(models.values()) + self.real_models)
- File "/env/techelec/local/lib/python2.7/site-packages/django/db/migrations/state.py", line 277, in render_multiple
- model.render(self)
- File "/env/techelec/local/lib/python2.7/site-packages/django/db/migrations/state.py", line 559, in render
- body,
- File "/env/techelec/local/lib/python2.7/site-packages/django/db/models/base.py", line 157, in __new__
- new_class.add_to_class(obj_name, obj)
- File "/env/techelec/local/lib/python2.7/site-packages/django/db/models/base.py", line 316, in add_to_class
- value.contribute_to_class(cls, name)
- File "/env/techelec/local/lib/python2.7/site-packages/django/db/models/manager.py", line 120, in contribute_to_class
- setattr(model, name, ManagerDescriptor(self))
- AttributeError: can't set attribute
Advertisement
Add Comment
Please, Sign In to add comment