ForeignKey's formfield does not respect limit_choices_to
|Reported by:||Owned by:||Luke Plant|
|Cc:||django@…||Triage Stage:||Fixed on a branch|
|Has patch:||yes||Needs documentation:||no|
|Needs tests:||yes||Patch needs improvement:||no|
formfield() function, which returns the
Field for a
newforms.Form created by
form_for_instance, does not filter the options by limit_choices_to.
i've attached a patch to fix that.
Change History (20)
comment:8 Changed 9 years ago by
|Summary:||ForeignKey's formfield does not respect limit_choices → ForeignKey's formfield does not respect limit_choices_to|