Description of problem: python3-django-admin startapp mysite cd mysite python3-django-admin runserver booom. Version-Release number of selected component: python3-django-1.6.3-1.fc20 Additional info: reporter: libreport-2.2.2 cmdline: /usr/bin/python3 /usr/bin/python3-django-admin runserver executable: /usr/bin/python3-django-admin kernel: 3.14.2-200.fc20.x86_64 runlevel: N 5 type: Python3 uid: 1000 Truncated backtrace: __init__.py:47:_setup:django.core.exceptions.ImproperlyConfigured: Requested setting USE_I18N, but settings are not configured. You must either define the environment variable DJANGO_SETTINGS_MODULE or call settings.configure() before accessing settings. Traceback (most recent call last): File "/usr/lib64/python3.3/os.py", line 673, in __getitem__ value = self._data[self.encodekey(key)] KeyError: b'DJANGO_SETTINGS_MODULE' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.3/site-packages/django/conf/__init__.py", line 38, in _setup settings_module = os.environ[ENVIRONMENT_VARIABLE] File "/usr/lib64/python3.3/os.py", line 676, in __getitem__ raise KeyError(key) KeyError: 'DJANGO_SETTINGS_MODULE' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/bin/python3-django-admin", line 5, in <module> management.execute_from_command_line() File "/usr/lib/python3.3/site-packages/django/core/management/__init__.py", line 399, in execute_from_command_line utility.execute() File "/usr/lib/python3.3/site-packages/django/core/management/__init__.py", line 392, in execute self.fetch_command(subcommand).run_from_argv(self.argv) File "/usr/lib/python3.3/site-packages/django/core/management/base.py", line 242, in run_from_argv self.execute(*args, **options.__dict__) File "/usr/lib/python3.3/site-packages/django/core/management/base.py", line 279, in execute saved_locale = translation.get_language() File "/usr/lib/python3.3/site-packages/django/utils/translation/__init__.py", line 154, in get_language return _trans.get_language() File "/usr/lib/python3.3/site-packages/django/utils/translation/__init__.py", line 52, in __getattr__ if settings.USE_I18N: File "/usr/lib/python3.3/site-packages/django/conf/__init__.py", line 54, in __getattr__ self._setup(name) File "/usr/lib/python3.3/site-packages/django/conf/__init__.py", line 47, in _setup % (desc, ENVIRONMENT_VARIABLE)) django.core.exceptions.ImproperlyConfigured: Requested setting USE_I18N, but settings are not configured. You must either define the environment variable DJANGO_SETTINGS_MODULE or call settings.configure() before accessing settings. Local variables in innermost frame: desc: 'setting USE_I18N' name: 'USE_I18N' self: <django.conf.LazySettings object at 0x7fd315a2b550>
Created attachment 892886 [details] File: backtrace
Created attachment 892887 [details] File: environ
*** This bug has been marked as a duplicate of bug 1094793 ***