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
I'm gettting the following traceback when starting runserver on Django 1.7rc2.
Traceback (most recent call last):
File "./testapp/manage.py", line 11, in <module>
execute_from_command_line(sys.argv)
File "/media/Files/projects/testapp/env/src/django/django/core/management/__init__.py", line 385, in execute_from_command_line
utility.execute()
File "/media/Files/projects/testapp/env/src/django/django/core/management/__init__.py", line 354, in execute
django.setup()
File "/media/Files/projects/testapp/env/src/django/django/__init__.py", line 21, in setup
apps.populate(settings.INSTALLED_APPS)
File "/media/Files/projects/testapp/env/src/django/django/apps/registry.py", line 85, in populate
app_config = AppConfig.create(entry)
File "/media/Files/projects/testapp/env/src/django/django/apps/config.py", line 112, in create
mod = import_module(mod_path)
File "/usr/lib64/python2.7/importlib/__init__.py", line 37, in import_module
__import__(name)
File "/media/Files/projects/testapp/env/src/django-constance/constance/apps.py", line 5, in <module>
class ConstanceConfig(AppConfig):
File "/media/Files/projects/testapp/env/src/django-constance/constance/apps.py", line 7, in ConstanceConfig
verbose_name = _('Constance')
File "/media/Files/projects/testapp/env/src/django/django/utils/translation/__init__.py", line 83, in ugettext
return _trans.ugettext(message)
File "/media/Files/projects/testapp/env/src/django/django/utils/translation/trans_real.py", line 325, in ugettext
return do_translate(message, 'ugettext')
File "/media/Files/projects/testapp/env/src/django/django/utils/translation/trans_real.py", line 306, in do_translate
_default = translation(settings.LANGUAGE_CODE)
File "/media/Files/projects/testapp/env/src/django/django/utils/translation/trans_real.py", line 209, in translation
default_translation = _fetch(settings.LANGUAGE_CODE)
File "/media/Files/projects/testapp/env/src/django/django/utils/translation/trans_real.py", line 189, in _fetch
"The translation infrastructure cannot be initialized before the "
django.core.exceptions.AppRegistryNotReady: The translation infrastructure cannot be initialized before the apps registry is ready. Check that you don't make non-lazy gettext calls at import time.
The text was updated successfully, but these errors were encountered:
I'm gettting the following traceback when starting runserver on Django 1.7rc2.
The text was updated successfully, but these errors were encountered: