#34001: ForeignKey.formfield(): allow override for all kwargs
-------------------------------------+-------------------------------------
     Reporter:  James Pic            |                    Owner:  nobody
         Type:                       |                   Status:  closed
  Cleanup/optimization               |
    Component:  Database layer       |                  Version:  4.0
  (models, ORM)                      |
     Severity:  Normal               |               Resolution:  needsinfo
     Keywords:                       |             Triage Stage:
                                     |  Unreviewed
    Has patch:  0                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------
Changes (by Mariusz Felisiak):

 * status:  new => closed
 * resolution:   => needsinfo


Comment:

 Thanks for the ticket, however I'm a bit confused. Is it not possible? The
 values from `kwargs` should override `form_class`, `queryset`, and
 `to_field_name` in `**{..., **kwargs}`. The only difference is in `blank`
 but in this case we should keep the value from a model field.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/34001#comment:3>
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/0107018326728d8f-e8f1aa66-3907-470c-866a-3942a518e552-000000%40eu-central-1.amazonses.com.

Reply via email to