#27231: Initialize forms in ModelAdmin like View (i.e. add get_form_kwargs to
contrib.admin)
----------------------------------+--------------------------------------
     Reporter:  thauk-copperleaf  |                    Owner:  nobody
         Type:  Uncategorized     |                   Status:  new
    Component:  contrib.admin     |                  Version:  1.10
     Severity:  Normal            |               Resolution:
     Keywords:                    |             Triage Stage:  Unreviewed
    Has patch:  0                 |      Needs documentation:  0
  Needs tests:  0                 |  Patch needs improvement:  0
Easy pickings:  0                 |                    UI/UX:  0
----------------------------------+--------------------------------------

Comment (by thauk-copperleaf):

 Yes, I can make customizations there, at least, some of them; e.g. there
 was potential for a requirement where the value of request.user would
 modify what choices I would display, and although the request object is
 generally available at the ModelAdmin level (e.g. get_form), it's not
 generally not a parameter at the Form level. I'll have a think this
 afternoon.

--
Ticket URL: <https://code.djangoproject.com/ticket/27231#comment:5>
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 django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/074.b9d3a581e689d07cc6dbb22539b545d6%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to