моделями джанги. Так вот происходит такое исключение. Может кто подсказать?
Traceback (most recent call last):
File "tasks.py", line 1, in <module>
from api_v1.models import *
File "/var/local/mdm-billing/api_v1/models.py", line 17, in <module>
class Tariff(models.Model):
File "/var/local/mdm-billing/venv/lib/python3.6/site-packages/django/db/models/base.py", line 100, in new
app_config = apps.get_containing_app_config(module)
File "/var/local/mdm-billing/venv/lib/python3.6/site-packages/django/apps/registry.py", line 244, in get_containing_app_config
self.check_apps_ready()
File "/var/local/mdm-billing/venv/lib/python3.6/site-packages/django/apps/registry.py", line 127, in check_apps_ready
raise AppRegistryNotReady("Apps aren't loaded yet.")
django.core.exceptions.AppRegistryNotReady: Apps aren't loaded yet.
Ап в конфиге?
Обсуждают сегодня