- (base) C:\Users\dfitz\OneDrive\projects\ZC4Web>heroku run python manage.py createsuperuser
- Running python manage.py createsuperuser on ⬢ zc4web... up, run.6477 (Free)
- /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>.
- """)
- System check identified some issues:
-
- WARNINGS:
- ?: (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().
- Username: fitzpatrickd83
- Email address: dfitz.murrieta@gmail.com
- Password:
- Password (again):
- Traceback (most recent call last):
- File "/app/.heroku/python/lib/python3.6/site-packages/django/db/backends/utils.py", line 85, in _execute
- return self.cursor.execute(sql, params)
- psycopg2.IntegrityError: null value in column "id" violates not-null constraint
- 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).
-
-
- The above exception was the direct cause of the following exception:
-
- Traceback (most recent call last):
- File "manage.py", line 15, in <module>
- execute_from_command_line(sys.argv)
- File "/app/.heroku/python/lib/python3.6/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
- utility.execute()
- File "/app/.heroku/python/lib/python3.6/site-packages/django/core/management/__init__.py", line 375, in execute
- self.fetch_command(subcommand).run_from_argv(self.argv)
- File "/app/.heroku/python/lib/python3.6/site-packages/django/core/management/base.py", line 316, in run_from_argv
- self.execute(*args, **cmd_options)
- File "/app/.heroku/python/lib/python3.6/site-packages/django/contrib/auth/management/commands/createsuperuser.py", line 59, in execute
- return super().execute(*args, **options)
- File "/app/.heroku/python/lib/python3.6/site-packages/django/core/management/base.py", line 353, in execute
- output = self.handle(*args, **options)
- File "/app/.heroku/python/lib/python3.6/site-packages/django/contrib/auth/management/commands/createsuperuser.py", line 184, in handle
- self.UserModel._default_manager.db_manager(database).create_superuser(**user_data)
- File "/app/.heroku/python/lib/python3.6/site-packages/django/contrib/auth/models.py", line 161, in create_superuser
- return self._create_user(username, email, password, **extra_fields)
- File "/app/.heroku/python/lib/python3.6/site-packages/django/contrib/auth/models.py", line 144, in _create_user
- user.save(using=self._db)
- File "/app/.heroku/python/lib/python3.6/site-packages/django/contrib/auth/base_user.py", line 73, in save
- super().save(*args, **kwargs)
- File "/app/.heroku/python/lib/python3.6/site-packages/django/db/models/base.py", line 718, in save
- force_update=force_update, update_fields=update_fields)
- File "/app/.heroku/python/lib/python3.6/site-packages/django/db/models/base.py", line 748, in save_base
- updated = self._save_table(raw, cls, force_insert, force_update, using, update_fields)
- File "/app/.heroku/python/lib/python3.6/site-packages/django/db/models/base.py", line 831, in _save_table
- result = self._do_insert(cls._base_manager, using, fields, update_pk, raw)
- File "/app/.heroku/python/lib/python3.6/site-packages/django/db/models/base.py", line 869, in _do_insert
- using=using, raw=raw)
- File "/app/.heroku/python/lib/python3.6/site-packages/django/db/models/manager.py", line 82, in manager_method
- return getattr(self.get_queryset(), name)(*args, **kwargs)
- File "/app/.heroku/python/lib/python3.6/site-packages/django/db/models/query.py", line 1136, in _insert
- return query.get_compiler(using=using).execute_sql(return_id)
- File "/app/.heroku/python/lib/python3.6/site-packages/django/db/models/sql/compiler.py", line 1289, in execute_sql
- cursor.execute(sql, params)
- File "/app/.heroku/python/lib/python3.6/site-packages/django/db/backends/utils.py", line 100, in execute
- return super().execute(sql, params)
- File "/app/.heroku/python/lib/python3.6/site-packages/django/db/backends/utils.py", line 68, in execute
- return self._execute_with_wrappers(sql, params, many=False, executor=self._execute)
- File "/app/.heroku/python/lib/python3.6/site-packages/django/db/backends/utils.py", line 77, in _execute_with_wrappers
- return executor(sql, params, many, context)
- File "/app/.heroku/python/lib/python3.6/site-packages/django/db/backends/utils.py", line 85, in _execute
- return self.cursor.execute(sql, params)
- File "/app/.heroku/python/lib/python3.6/site-packages/django/db/utils.py", line 89, in __exit__
- raise dj_exc_value.with_traceback(traceback) from exc_value
- File "/app/.heroku/python/lib/python3.6/site-packages/django/db/backends/utils.py", line 85, in _execute
- return self.cursor.execute(sql, params)
- django.db.utils.IntegrityError: null value in column "id" violates not-null constraint
- 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).