Django Forms, Overriding the queryset on a select field to exclude options already used.

May 6, 2019 Chris Shaw Tutorials 5708 views

In a Django form, It is posibble to override the queryset that produces the results displayed in a 'select field' from a foregin key. In this tutorial, we will pass valuse from the view to the form to build the queryset.