Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- (venv)brad@ubuntu:~/djs-dev/djs_cms$ ./manage.py migrate
- Operations to perform:
- Synchronize unmigrated apps: easy_select2, rest_framework_swagger, tinymce, bootstrapform, longerusernameandemail, macros, drf_multiple_model, helpers, django_send_email, django_extensions, rest_framework, admin_tools, theming
- Apply all migrations: sessions, admin, menu, tracks, auth, reversion, contenttypes, api, dashboard, artists, events, djsdata
- Synchronizing apps without migrations:
- Creating tables...
- Installing custom SQL...
- Installing indexes...
- Running migrations:
- Applying artists.0033_auto_20160111_1123...Traceback (most recent call last):
- File "./manage.py", line 10, in <module>
- execute_from_command_line(sys.argv)
- File "/home/brad/djs-dev/venv/local/lib/python2.7/site-packages/django/core/management/__init__.py", line 385, in execute_from_command_line
- utility.execute()
- File "/home/brad/djs-dev/venv/local/lib/python2.7/site-packages/django/core/management/__init__.py", line 377, in execute
- self.fetch_command(subcommand).run_from_argv(self.argv)
- File "/home/brad/djs-dev/venv/local/lib/python2.7/site-packages/django/core/management/base.py", line 288, in run_from_argv
- self.execute(*args, **options.__dict__)
- File "/home/brad/djs-dev/venv/local/lib/python2.7/site-packages/django/core/management/base.py", line 338, in execute
- output = self.handle(*args, **options)
- File "/home/brad/djs-dev/venv/local/lib/python2.7/site-packages/django/core/management/commands/migrate.py", line 161, in handle
- executor.migrate(targets, plan, fake=options.get("fake", False))
- File "/home/brad/djs-dev/venv/local/lib/python2.7/site-packages/django/db/migrations/executor.py", line 68, in migrate
- self.apply_migration(migration, fake=fake)
- File "/home/brad/djs-dev/venv/local/lib/python2.7/site-packages/django/db/migrations/executor.py", line 102, in apply_migration
- migration.apply(project_state, schema_editor)
- File "/home/brad/djs-dev/venv/local/lib/python2.7/site-packages/django/db/migrations/migration.py", line 108, in apply
- operation.database_forwards(self.app_label, schema_editor, project_state, new_state)
- File "/home/brad/djs-dev/venv/local/lib/python2.7/site-packages/django/db/migrations/operations/special.py", line 117, in database_forwards
- self.code(from_state.render(), schema_editor)
- File "/home/brad/djs-dev/djs_cms/djs_cms/apps/artists/migrations/0033_auto_20160111_1123.py", line 19, in forwards_func
- user = ArtistUser(username=email, email=email, password=make_password(password), plan=Plan.objects.get(id=4), first_name=first_name, last_name=last_name)
- File "/home/brad/djs-dev/venv/local/lib/python2.7/site-packages/django/db/models/manager.py", line 92, in manager_method
- return getattr(self.get_queryset(), name)(*args, **kwargs)
- File "/home/brad/djs-dev/venv/local/lib/python2.7/site-packages/django/db/models/query.py", line 357, in get
- self.model._meta.object_name)
- __fake__.DoesNotExist: Plan matching query does not exist.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement