Advertisement
Guest User

Untitled

a guest
Sep 15th, 2017
110
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.92 KB | None | 0 0
  1. (djanga) inout@halloween:~/wesens-studio/wesens-studio$ ./manage.py createsuperuser
  2. Username (leave blank to use 'inout'): admin
  3. Email address:
  4. Password:
  5. Password (again):
  6. Traceback (most recent call last):
  7. File "./manage.py", line 22, in <module>
  8. execute_from_command_line(sys.argv)
  9. File "/home/inout/djanga/local/lib/python2.7/site-packages/django/core/management/__init__.py", line 363, in execute_from_command_line
  10. utility.execute()
  11. File "/home/inout/djanga/local/lib/python2.7/site-packages/django/core/management/__init__.py", line 355, in execute
  12. self.fetch_command(subcommand).run_from_argv(self.argv)
  13. File "/home/inout/djanga/local/lib/python2.7/site-packages/django/core/management/base.py", line 283, in run_from_argv
  14. self.execute(*args, **cmd_options)
  15. File "/home/inout/djanga/local/lib/python2.7/site-packages/django/contrib/auth/management/commands/createsuperuser.py", line 63, in execute
  16. return super(Command, self).execute(*args, **options)
  17. File "/home/inout/djanga/local/lib/python2.7/site-packages/django/core/management/base.py", line 330, in execute
  18. output = self.handle(*args, **options)
  19. File "/home/inout/djanga/local/lib/python2.7/site-packages/django/contrib/auth/management/commands/createsuperuser.py", line 183, in handle
  20. self.UserModel._default_manager.db_manager(database).create_superuser(**user_data)
  21. File "/home/inout/djanga/local/lib/python2.7/site-packages/django/contrib/auth/models.py", line 170, in create_superuser
  22. return self._create_user(username, email, password, **extra_fields)
  23. File "/home/inout/djanga/local/lib/python2.7/site-packages/django/contrib/auth/models.py", line 153, in _create_user
  24. user.save(using=self._db)
  25. File "/home/inout/djanga/local/lib/python2.7/site-packages/django/contrib/auth/base_user.py", line 80, in save
  26. super(AbstractBaseUser, self).save(*args, **kwargs)
  27. File "/home/inout/djanga/local/lib/python2.7/site-packages/django/db/models/base.py", line 806, in save
  28. force_update=force_update, update_fields=update_fields)
  29. File "/home/inout/djanga/local/lib/python2.7/site-packages/django/db/models/base.py", line 846, in save_base
  30. update_fields=update_fields, raw=raw, using=using,
  31. File "/home/inout/djanga/local/lib/python2.7/site-packages/django/dispatch/dispatcher.py", line 193, in send
  32. for receiver in self._live_receivers(sender)
  33. File "/home/inout/wesens-studio/wesens-studio/mods/ws_user_profile/models.py", line 44, in create_user_profile
  34. UserProfile.objects.create(user=instance)
  35. File "/home/inout/djanga/local/lib/python2.7/site-packages/django/db/models/manager.py", line 85, in manager_method
  36. return getattr(self.get_queryset(), name)(*args, **kwargs)
  37. File "/home/inout/djanga/local/lib/python2.7/site-packages/django/db/models/query.py", line 393, in create
  38. obj.save(force_insert=True, using=self.db)
  39. TypeError: save() got an unexpected keyword argument 'force_insert'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement