#28752: Prevent django.setup() from running multiple times
--------------------------------------+------------------------------------
     Reporter:  pascal chambon        |                    Owner:  nobody
         Type:  Cleanup/optimization  |                   Status:  new
    Component:  Core (Other)          |                  Version:  1.11
     Severity:  Normal                |               Resolution:
     Keywords:                        |             Triage Stage:  Accepted
    Has patch:  0                     |      Needs documentation:  0
  Needs tests:  0                     |  Patch needs improvement:  1
Easy pickings:  0                     |                    UI/UX:  0
--------------------------------------+------------------------------------
Changes (by Carlton Gibson):

 * needs_better_patch:  0 => 1


Comment:

 Looking at the PR, there are two things going on there:

 1. Making `setup()` ''idempotent''. Let's handle that part here.
 2. Allowing specifying custom logic. Let's handle that on #30536.

 (The one looks less controversial than the other...)

 Pascal, if you could split the PR into two, targeting the one as `Fixed
 #28752 -- ...` that would be great.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/28752#comment:18>
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.a399c13c4b3804797fb4eb8397b7213a%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to