Advertisement
Guest User

Untitled

a guest
Jan 27th, 2016
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.96 KB | None | 0 0
  1. (venv)brad@ubuntu:~/djs-dev/djs_cms$ ./manage.py migrate
  2. Operations to perform:
  3. 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
  4. Apply all migrations: sessions, admin, menu, tracks, auth, reversion, contenttypes, api, dashboard, artists, events, djsdata
  5. Synchronizing apps without migrations:
  6. Creating tables...
  7. Installing custom SQL...
  8. Installing indexes...
  9. Running migrations:
  10. Applying artists.0033_auto_20160111_1123...Traceback (most recent call last):
  11. File "./manage.py", line 10, in <module>
  12. execute_from_command_line(sys.argv)
  13. File "/home/brad/djs-dev/venv/local/lib/python2.7/site-packages/django/core/management/__init__.py", line 385, in execute_from_command_line
  14. utility.execute()
  15. File "/home/brad/djs-dev/venv/local/lib/python2.7/site-packages/django/core/management/__init__.py", line 377, in execute
  16. self.fetch_command(subcommand).run_from_argv(self.argv)
  17. File "/home/brad/djs-dev/venv/local/lib/python2.7/site-packages/django/core/management/base.py", line 288, in run_from_argv
  18. self.execute(*args, **options.__dict__)
  19. File "/home/brad/djs-dev/venv/local/lib/python2.7/site-packages/django/core/management/base.py", line 338, in execute
  20. output = self.handle(*args, **options)
  21. File "/home/brad/djs-dev/venv/local/lib/python2.7/site-packages/django/core/management/commands/migrate.py", line 161, in handle
  22. executor.migrate(targets, plan, fake=options.get("fake", False))
  23. File "/home/brad/djs-dev/venv/local/lib/python2.7/site-packages/django/db/migrations/executor.py", line 68, in migrate
  24. self.apply_migration(migration, fake=fake)
  25. File "/home/brad/djs-dev/venv/local/lib/python2.7/site-packages/django/db/migrations/executor.py", line 102, in apply_migration
  26. migration.apply(project_state, schema_editor)
  27. File "/home/brad/djs-dev/venv/local/lib/python2.7/site-packages/django/db/migrations/migration.py", line 108, in apply
  28. operation.database_forwards(self.app_label, schema_editor, project_state, new_state)
  29. File "/home/brad/djs-dev/venv/local/lib/python2.7/site-packages/django/db/migrations/operations/special.py", line 117, in database_forwards
  30. self.code(from_state.render(), schema_editor)
  31. File "/home/brad/djs-dev/djs_cms/djs_cms/apps/artists/migrations/0033_auto_20160111_1123.py", line 19, in forwards_func
  32. user = ArtistUser(username=email, email=email, password=make_password(password), plan=Plan.objects.get(id=4), first_name=first_name, last_name=last_name)
  33. File "/home/brad/djs-dev/venv/local/lib/python2.7/site-packages/django/db/models/manager.py", line 92, in manager_method
  34. return getattr(self.get_queryset(), name)(*args, **kwargs)
  35. File "/home/brad/djs-dev/venv/local/lib/python2.7/site-packages/django/db/models/query.py", line 357, in get
  36. self.model._meta.object_name)
  37. __fake__.DoesNotExist: Plan matching query does not exist.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement