#34023: inlines variable not bound in loop in ModelAdmin._create_formsets
--------------------------------------+------------------------------------
     Reporter:  Michał Pasternak      |                    Owner:  nobody
         Type:  Cleanup/optimization  |                   Status:  new
    Component:  contrib.admin         |                  Version:  dev
     Severity:  Normal                |               Resolution:
     Keywords:                        |             Triage Stage:  Accepted
    Has patch:  0                     |      Needs documentation:  0
  Needs tests:  0                     |  Patch needs improvement:  0
Easy pickings:  0                     |                    UI/UX:  0
--------------------------------------+------------------------------------

Comment (by Mariusz Felisiak):

 TBH, since creating and calling internal functions is expensive, maybe
 it's better to immediately check these conditions instead of using
 `user_deleted_form()` 🤔

-- 
Ticket URL: <https://code.djangoproject.com/ticket/34023#comment:4>
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/010701835478fb6d-c39231e2-5d2d-42b0-9007-0e4ac1b11af2-000000%40eu-central-1.amazonses.com.

Reply via email to