This is due to the fact that `d.c.management` ignores
`ImproperlyConfigured` from `django.setup`
--
Ticket URL: <https://code.djangoproject.com/ticket/21737>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
* keywords: => app-loading
* severity: Normal => Release blocker
* stage: Unreviewed => Accepted
--
Ticket URL: <https://code.djangoproject.com/ticket/21737#comment:1>
* has_patch: 0 => 1
* needs_tests: 0 => 1
--
Ticket URL: <https://code.djangoproject.com/ticket/21737#comment:2>
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"2dcde523abe6dca42d9b2d46a47c402979974c77"]:
{{{
#!CommitTicketReference repository=""
revision="2dcde523abe6dca42d9b2d46a47c402979974c77"
Avoided catching ImproperlyConfigured on django.setup().
Fixed #21737. Thanks Florian for the report.
Also removed redundant imports in that file.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/21737#comment:3>
Comment (by aaugustin):
Oops - we worked on the same ticket at the same time.
But we came up with pretty much the same solution.
--
Ticket URL: <https://code.djangoproject.com/ticket/21737#comment:4>
Comment (by claudep):
Thanks, your solution is more elegant.
--
Ticket URL: <https://code.djangoproject.com/ticket/21737#comment:5>