Changes between Initial Version and Version 1 of Ticket #25306, comment 1


Ignore:
Timestamp:
Jan 26, 2024, 3:25:44 AM (3 months ago)
Author:
Carlton Gibson

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #25306, comment 1

    initial v1  
    1 How about using `AdminSite.form` and customizing the foreign key's queryset in `form.__init__()` as described in [https://docs.djangoproject.com/en/1.8/topics/forms/modelforms/#changing-the-queryset Changing the queryset].
     1How about using `AdminSite.form` and customizing the foreign key's queryset in `form.__init__()` as described in [https://docs.djangoproject.com/en/stable/topics/forms/modelforms/#changing-the-queryset Changing the queryset].
Back to Top