Помогите решить проблему Django 1.8/Python 3.4
training_curses/apps.py
from django.apps import AppConfig
from django.utils.translation import ugettext_lazy as _
class CourseConfig(AppConfig):
name = _('Training course')
verbose_name = _('Training course')
enter code here
training_curses/ __init__.py
default_app_config = 'training_curses.apps.CourseConfig'
Выдает ошибку
python manage.py runserver
Traceback (most recent call last):
File "manage.py", line 10, in <module>
execute_from_command_line(sys.argv)
File "/home/usergraund/.virtualenvs/unihub/lib/python3.4/site-packages/django/core/management/__init__.py", line 351, in execute_from_command_line
utility.execute()
File "/home/usergraund/.virtualenvs/unihub/lib/python3.4/site-packages/django/core/management/__init__.py", line 343, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/home/usergraund/.virtualenvs/unihub/lib/python3.4/site-packages/django/core/management/__init__.py", line 177, in fetch_command
commands = get_commands()
File "/home/usergraund/.virtualenvs/unihub/lib/python3.4/functools.py", line 434, in wrapper
result = user_function(*args, **kwds)
File "/home/usergraund/.virtualenvs/unihub/lib/python3.4/site-packages/django/core/management/__init__.py", line 72, in get_commands
for app_config in reversed(list(apps.get_app_configs())):
File "/home/usergraund/.virtualenvs/unihub/lib/python3.4/site-packages/django/apps/registry.py", line 137, in get_app_configs
self.check_apps_ready()
File "/home/usergraund/.virtualenvs/unihub/lib/python3.4/site-packages/django/apps/registry.py", line 124, in check_apps_ready
raise AppRegistryNotReady("Apps aren't loaded yet.")
django.core.exceptions.AppRegistryNotReady: Apps aren't loaded yet.
make: *** [run] Error 1
Updated 12 March 2016, 16:17 by UserGraund.