#21634: Lis of installed apps set to empty when ImproperlyConfigured exception
is
raised
-------------------------------------+-------------------------------------
Reporter: nikolay.v.golub@… | Owner: nobody
Type: | Status: new
Cleanup/optimization | Version: 1.6
Component: Core (Management | Resolution:
commands) | Triage Stage: Accepted
Severity: Normal | Needs documentation: 0
Keywords: | Patch needs improvement: 0
Has patch: 0 | UI/UX: 0
Needs tests: 0 |
Easy pickings: 0 |
-------------------------------------+-------------------------------------
Changes (by claudep):
* stage: Unreviewed => Accepted
Comment:
As you can read in the comment, the purpose is to allow to run some
commands even when settings are not yet properly configured. It's obvious
that when you run `django-admin.py startproject`, no suitable settings
will be available.
In [a098bee1b9fa4df] (#19724), we already improved the message for the
`help` command in the case `ImproperlyConfigured` exception is raised. So
I suggest to extend a similar handling for all commands.
--
Ticket URL: <https://code.djangoproject.com/ticket/21634#comment:2>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/083.c1a56bf434f36a51f29d24ec92802b8d%40djangoproject.com.
For more options, visit https://groups.google.com/groups/opt_out.