#30536: Allow running custom logic in django.setup().
--------------------------------+------------------------------------
Reporter: pascal chambon | Owner: nobody
Type: New feature | Status: new
Component: Core (Other) | Version: master
Severity: Normal | Resolution:
Keywords: setup | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 1
Easy pickings: 0 | UI/UX: 0
--------------------------------+------------------------------------
Comment (by Florian Apolloner):
Replying to [comment:4 Carlton Gibson]:
> I'm not sure about the proposed implementation. I'll ask others to
review.
Same here, my comment from the PR:
Personally I feel that this fix is happening at the wrong level. An
environment variable (Or even as keyword argument to ''setup'' itself)
feels more suitable, after all ''setup'' is the thing that reads your
settings in the first place.
I think this might be something that could/should be discussed on the
mailing list?
--
Ticket URL: <https://code.djangoproject.com/ticket/30536#comment:6>
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/063.8927e3b8fc3a341f4a5d757928216fb4%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.