Condition support for Local Sites.
- class LocalSiteModelChoiceMixin[source]¶
Mixin to restrict model choices to those on a Local Site.
This will ensure that any queries are bound to a
LocalSite, if provided to the condition field widget through
Return a queryset for the choice.
The queryset will take into account a LocalSite, if one is provided for the conditions.
The queryset for the choice.
- Return type: