Changes between Initial Version and Version 1 of Ticket #29114
- Timestamp:
- Feb 5, 2018, 12:59:38 PM (7 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #29114 – Description
initial v1 1 1 Please make `manage.py shell` work out of the box: 2 2 {{{ 3 3 > django-admin shell 4 4 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. 5 5 }}} 6 {{{ 6 7 > manage.py shell 7 8 django.core.exceptions.ImproperlyConfigured: Requested setting USE_I18N ... 8 9 }}} 9 10 After 20 minutes I found the 'solution' to the this problem, but the second issue is unresolved: 10 11 {{{ 11 12 django-admin shell --settings=poll.settings 12 13 TypeError: catch_config_error() missing 1 required positional argument 13 14 }}} 14 15 full log: 15 ``` 16 {{{ 16 17 django-admin shell --settings=poll.settings 17 18 Traceback (most recent call last): … … 40 41 File "/usr/local/lib/python3.5/dist-packages/traitlets/config/application.py", line 291, in Application 41 42 def initialize(self, argv=None): 42 ``` 43 }}}