https://dpaste.de/VyjE

Are you sure to delete this snippet? No, don't delete
  1. (base) C:\Users\dfitz\OneDrive\projects\ZC4Web>heroku run python manage.py createsuperuser
  2. Running python manage.py createsuperuser on zc4web... up, run.6477 (Free)
  3. /app/.heroku/python/lib/python3.6/site-packages/psycopg2/__init__.py:144: UserWarning: The psycopg2 wheel package will be renamed from release 2.8; in order to keep installing from binary please use "pip install psycopg2-binary" instead. For details see: <http://initd.org/psycopg/docs/install.html#binary-install-from-pypi>.
  4. """)
  5. System check identified some issues:
  6. WARNINGS:
  7. ?: (2_0.W001) Your URL pattern '^__debug__/' has a route that contains '(?P<', begins with a '^', or ends with a '$'. This was likely an oversight when migrating to django.urls.path().
  8. Username: fitzpatrickd83
  9. Email address: dfitz.murrieta@gmail.com
  10. Password:
  11. Password (again):
  12. Traceback (most recent call last):
  13. File "/app/.heroku/python/lib/python3.6/site-packages/django/db/backends/utils.py", line 85, in _execute
  14. return self.cursor.execute(sql, params)
  15. psycopg2.IntegrityError: null value in column "id" violates not-null constraint
  16. DETAIL: Failing row contains (pbkdf2_sha256$120000$4aOLpT7YKUTP$0lRrgfe1js+DutlI42eZG6HxZ5xbvA..., null, t, fitzpatrickd83, , , dfitz.murrieta@gmail.com, t, t, 2018-09-24 03:32:17.543359+00, null, , , null).
  17. The above exception was the direct cause of the following exception:
  18. Traceback (most recent call last):
  19. File "manage.py", line 15, in <module>
  20. execute_from_command_line(sys.argv)
  21. File "/app/.heroku/python/lib/python3.6/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
  22. utility.execute()
  23. File "/app/.heroku/python/lib/python3.6/site-packages/django/core/management/__init__.py", line 375, in execute
  24. self.fetch_command(subcommand).run_from_argv(self.argv)
  25. File "/app/.heroku/python/lib/python3.6/site-packages/django/core/management/base.py", line 316, in run_from_argv
  26. self.execute(*args, **cmd_options)
  27. File "/app/.heroku/python/lib/python3.6/site-packages/django/contrib/auth/management/commands/createsuperuser.py", line 59, in execute
  28. return super().execute(*args, **options)
  29. File "/app/.heroku/python/lib/python3.6/site-packages/django/core/management/base.py", line 353, in execute
  30. output = self.handle(*args, **options)
  31. File "/app/.heroku/python/lib/python3.6/site-packages/django/contrib/auth/management/commands/createsuperuser.py", line 184, in handle
  32. self.UserModel._default_manager.db_manager(database).create_superuser(**user_data)
  33. File "/app/.heroku/python/lib/python3.6/site-packages/django/contrib/auth/models.py", line 161, in create_superuser
  34. return self._create_user(username, email, password, **extra_fields)
  35. File "/app/.heroku/python/lib/python3.6/site-packages/django/contrib/auth/models.py", line 144, in _create_user
  36. user.save(using=self._db)
  37. File "/app/.heroku/python/lib/python3.6/site-packages/django/contrib/auth/base_user.py", line 73, in save
  38. super().save(*args, **kwargs)
  39. File "/app/.heroku/python/lib/python3.6/site-packages/django/db/models/base.py", line 718, in save
  40. force_update=force_update, update_fields=update_fields)
  41. File "/app/.heroku/python/lib/python3.6/site-packages/django/db/models/base.py", line 748, in save_base
  42. updated = self._save_table(raw, cls, force_insert, force_update, using, update_fields)
  43. File "/app/.heroku/python/lib/python3.6/site-packages/django/db/models/base.py", line 831, in _save_table
  44. result = self._do_insert(cls._base_manager, using, fields, update_pk, raw)
  45. File "/app/.heroku/python/lib/python3.6/site-packages/django/db/models/base.py", line 869, in _do_insert
  46. using=using, raw=raw)
  47. File "/app/.heroku/python/lib/python3.6/site-packages/django/db/models/manager.py", line 82, in manager_method
  48. return getattr(self.get_queryset(), name)(*args, **kwargs)
  49. File "/app/.heroku/python/lib/python3.6/site-packages/django/db/models/query.py", line 1136, in _insert
  50. return query.get_compiler(using=using).execute_sql(return_id)
  51. File "/app/.heroku/python/lib/python3.6/site-packages/django/db/models/sql/compiler.py", line 1289, in execute_sql
  52. cursor.execute(sql, params)
  53. File "/app/.heroku/python/lib/python3.6/site-packages/django/db/backends/utils.py", line 100, in execute
  54. return super().execute(sql, params)
  55. File "/app/.heroku/python/lib/python3.6/site-packages/django/db/backends/utils.py", line 68, in execute
  56. return self._execute_with_wrappers(sql, params, many=False, executor=self._execute)
  57. File "/app/.heroku/python/lib/python3.6/site-packages/django/db/backends/utils.py", line 77, in _execute_with_wrappers
  58. return executor(sql, params, many, context)
  59. File "/app/.heroku/python/lib/python3.6/site-packages/django/db/backends/utils.py", line 85, in _execute
  60. return self.cursor.execute(sql, params)
  61. File "/app/.heroku/python/lib/python3.6/site-packages/django/db/utils.py", line 89, in __exit__
  62. raise dj_exc_value.with_traceback(traceback) from exc_value
  63. File "/app/.heroku/python/lib/python3.6/site-packages/django/db/backends/utils.py", line 85, in _execute
  64. return self.cursor.execute(sql, params)
  65. django.db.utils.IntegrityError: null value in column "id" violates not-null constraint
  66. DETAIL: Failing row contains (pbkdf2_sha256$120000$4aOLpT7YKUTP$0lRrgfe1js+DutlI42eZG6HxZ5xbvA..., null, t, fitzpatrickd83, , , dfitz.murrieta@gmail.com, t, t, 2018-09-24 03:32:17.543359+00, null, , , null).

Edit this Snippet