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
Traceback (most recent call last):
File "manage.py", line 10, in <module>
execute_from_command_line(sys.argv)
File "/Users/antonagestam/.virtualenvs/mcr-api/lib/python2.7/site-packages/django/core/management/__init__.py", line 385, in execute_from_command_line
utility.execute()
File "/Users/antonagestam/.virtualenvs/mcr-api/lib/python2.7/site-packages/django/core/management/__init__.py", line 354, in execute
django.setup()
File "/Users/antonagestam/.virtualenvs/mcr-api/lib/python2.7/site-packages/django/__init__.py", line 21, in setup
apps.populate(settings.INSTALLED_APPS)
File "/Users/antonagestam/.virtualenvs/mcr-api/lib/python2.7/site-packages/django/apps/registry.py", line 108, in populate
app_config.import_models(all_models)
File "/Users/antonagestam/.virtualenvs/mcr-api/lib/python2.7/site-packages/django/apps/config.py", line 197, in import_models
self.models_module = import_module(models_module_name)
File "/usr/local/Cellar/python/2.7.5/Frameworks/Python.framework/Versions/2.7/lib/python2.7/importlib/__init__.py", line 37, in import_module
__import__(name)
File "/Users/antonagestam/.virtualenvs/mcr-api/mcr/apps/like/models.py", line 21, in <module>
connect_counter('like_count', Like.outfit)
File "/Users/antonagestam/.virtualenvs/mcr-api/lib/python2.7/site-packages/django_counter_field/counter.py", line 121, in connect_counter
return Counter(counter_name, foreign_field, is_in_counter)
File "/Users/antonagestam/.virtualenvs/mcr-api/lib/python2.7/site-packages/django_counter_field/counter.py", line 30, in __init__
self.connect()
File "/Users/antonagestam/.virtualenvs/mcr-api/lib/python2.7/site-packages/django_counter_field/counter.py", line 64, in connect
self.validate()
File "/Users/antonagestam/.virtualenvs/mcr-api/lib/python2.7/site-packages/django_counter_field/counter.py", line 38, in validate
self.counter_name
File "/Users/antonagestam/.virtualenvs/mcr-api/lib/python2.7/site-packages/django/db/models/options.py", line 416, in get_field_by_name
cache = self.init_name_map()
File "/Users/antonagestam/.virtualenvs/mcr-api/lib/python2.7/site-packages/django/db/models/options.py", line 445, in init_name_map
for f, model in self.get_all_related_m2m_objects_with_model():
File "/Users/antonagestam/.virtualenvs/mcr-api/lib/python2.7/site-packages/django/db/models/options.py", line 563, in get_all_related_m2m_objects_with_model
cache = self._fill_related_many_to_many_cache()
File "/Users/antonagestam/.virtualenvs/mcr-api/lib/python2.7/site-packages/django/db/models/options.py", line 577, in _fill_related_many_to_many_cache
for klass in self.apps.get_models():
File "/Users/antonagestam/.virtualenvs/mcr-api/lib/python2.7/site-packages/django/utils/lru_cache.py", line 101, in wrapper
result = user_function(*args, **kwds)
File "/Users/antonagestam/.virtualenvs/mcr-api/lib/python2.7/site-packages/django/apps/registry.py", line 168, in get_models
self.check_models_ready()
File "/Users/antonagestam/.virtualenvs/mcr-api/lib/python2.7/site-packages/django/apps/registry.py", line 131, in check_models_ready
raise AppRegistryNotReady("Models aren't loaded yet.")
django.core.exceptions.AppRegistryNotReady: Models aren't loaded yet.
The text was updated successfully, but these errors were encountered:
The text was updated successfully, but these errors were encountered: