#30536: Allow running custom logic in django.setup().
--------------------------------+------------------------------------
Reporter: pascal chambon | Owner: nobody
Type: New feature | Status: closed
Component: Core (Other) | Version: master
Severity: Normal | Resolution: wontfix
Keywords: setup | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 1
Easy pickings: 0 | UI/UX: 0
--------------------------------+------------------------------------
Changes (by Carlton Gibson):
* status: new => closed
* resolution: => wontfix
Comment:
Given #28752 and the concerns raised, I'm going to say `wontfix` here.
It's easy enough to adjust an entry point script (canonically `wsgi.py`,
but whatever is in play) to run custom logic at start up.
IMO That's always going to come out cleaner than adding a settings powered
hook in here.
--
Ticket URL: <https://code.djangoproject.com/ticket/30536#comment:7>
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 view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/063.cc2e71bcc5368d6cc2773f300059a115%40djangoproject.com.