You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
RuntimeError: Model class django.contrib.contenttypes.models.ContentType doesn't declare an explicit app_label and isn't in an application in INSTALLED_APPS
2024-12-21T04:47:26.662965+00:00 app[web.1]: [2024-12-20 22:47:26 -0600] [9] [ERROR] Exception in worker process
2024-12-21T04:47:26.662965+00:00 app[web.1]: Traceback (most recent call last):
2024-12-21T04:47:26.662965+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/site-packages/gunicorn/arbiter.py", line 609, in spawn_worker
2024-12-21T04:47:26.662965+00:00 app[web.1]: worker.init_process()
2024-12-21T04:47:26.662966+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/site-packages/uvicorn/workers.py", line 66, in init_process
2024-12-21T04:47:26.662966+00:00 app[web.1]: super(UvicornWorker, self).init_process()
2024-12-21T04:47:26.662966+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/site-packages/gunicorn/workers/base.py", line 134, in init_process
2024-12-21T04:47:26.662967+00:00 app[web.1]: self.load_wsgi()
2024-12-21T04:47:26.662967+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/site-packages/gunicorn/workers/base.py", line 146, in load_wsgi
2024-12-21T04:47:26.662967+00:00 app[web.1]: self.wsgi = self.app.wsgi()
2024-12-21T04:47:26.662967+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/site-packages/gunicorn/app/base.py", line 67, in wsgi
2024-12-21T04:47:26.662968+00:00 app[web.1]: self.callable = self.load()
2024-12-21T04:47:26.662968+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/site-packages/gunicorn/app/wsgiapp.py", line 58, in load
2024-12-21T04:47:26.662968+00:00 app[web.1]: return self.load_wsgiapp()
2024-12-21T04:47:26.662968+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/site-packages/gunicorn/app/wsgiapp.py", line 48, in load_wsgiapp
2024-12-21T04:47:26.662969+00:00 app[web.1]: return util.import_app(self.app_uri)
2024-12-21T04:47:26.662969+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/site-packages/gunicorn/util.py", line 371, in import_app
2024-12-21T04:47:26.662969+00:00 app[web.1]: mod = importlib.import_module(module)
2024-12-21T04:47:26.662969+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/importlib/__init__.py", line 127, in import_module
2024-12-21T04:47:26.662970+00:00 app[web.1]: return _bootstrap._gcd_import(name[level:], package, level)
2024-12-21T04:47:26.662970+00:00 app[web.1]: File "<frozen importlib._bootstrap>", line 1030, in _gcd_import
2024-12-21T04:47:26.662970+00:00 app[web.1]: File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
2024-12-21T04:47:26.662970+00:00 app[web.1]: File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked
2024-12-21T04:47:26.662970+00:00 app[web.1]: File "<frozen importlib._bootstrap>", line 680, in _load_unlocked
2024-12-21T04:47:26.662971+00:00 app[web.1]: File "<frozen importlib._bootstrap_external>", line 850, in exec_module
2024-12-21T04:47:26.662971+00:00 app[web.1]: File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed
2024-12-21T04:47:26.662971+00:00 app[web.1]: File "/app/gph/asgi.py", line 21, in <module>
2024-12-21T04:47:26.662971+00:00 app[web.1]: from .routing import websocket_urlpatterns
2024-12-21T04:47:26.662972+00:00 app[web.1]: File "/app/gph/routing.py", line 3, in <module>
2024-12-21T04:47:26.662972+00:00 app[web.1]: from puzzles.messaging import TeamNotificationsConsumer, HintsConsumer
2024-12-21T04:47:26.662972+00:00 app[web.1]: File "/app/puzzles/messaging.py", line 21, in <module>
2024-12-21T04:47:26.662972+00:00 app[web.1]: from puzzles.context import Context
2024-12-21T04:47:26.662972+00:00 app[web.1]: File "/app/puzzles/context.py", line 16, in <module>
2024-12-21T04:47:26.662973+00:00 app[web.1]: from puzzles import models
2024-12-21T04:47:26.662973+00:00 app[web.1]: File "/app/puzzles/models.py", line 10, in <module>
2024-12-21T04:47:26.662973+00:00 app[web.1]: from **django.contrib.auth.models import User**
2024-12-21T04:47:26.662973+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/site-packages/django/contrib/auth/models.py", line 5, in <module>
2024-12-21T04:47:26.662973+00:00 app[web.1]: from django.contrib.contenttypes.models import ContentType
2024-12-21T04:47:26.662974+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/site-packages/django/contrib/contenttypes/models.py", line 137, in <module>
2024-12-21T04:47:26.662974+00:00 app[web.1]: class ContentType(models.Model):
2024-12-21T04:47:26.662974+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/site-packages/django/db/models/base.py", line 132, in __new__
2024-12-21T04:47:26.662974+00:00 app[web.1]: raise RuntimeError(
2024-12-21T04:47:26.662974+00:00 app[web.1]: RuntimeError: Model class django.contrib.contenttypes.models.ContentType doesn't declare an explicit app_label and isn't in an application in INSTALLED_APPS.
The text was updated successfully, but these errors were encountered:
We get this error when trying to deploy on Heroku
RuntimeError: Model class django.contrib.contenttypes.models.ContentType doesn't declare an explicit app_label and isn't in an application in INSTALLED_APPS
The text was updated successfully, but these errors were encountered: