Add documentation for new request argument

This commit is contained in:
Johannes Hoppe
2019-03-23 13:57:13 +01:00
parent 66d2051c20
commit ffe91627d8
+2
View File
@@ -372,6 +372,8 @@ class ModelSelect2Mixin:
Return QuerySet filtered by search_fields matching the passed term.
Args:
request (django.http.request.HttpRequest): The request is being passed from
the JSON view and can be used to dynamically alter the response queryset.
term (str): Search term
queryset (django.db.models.query.QuerySet): QuerySet to select choices from.
**dependent_fields: Dependent fields and their values. If you want to inherit