aget_list_or_404
See get_list_or_404().
def aget_list_or_404(
klass: Model, Manager, or QuerySet,
*args: Any,
**kwargs: Any
) - > list
See get_list_or_404().
Parameters
| Name | Type | Description |
|---|---|---|
| klass | Model, Manager, or QuerySet | The Django Model class, Manager, or QuerySet instance from which to retrieve the objects. |
| *args | Any | Positional filter arguments passed to the queryset's filter method. |
| **kwargs | Any | Keyword filter arguments used to narrow the queryset results. |
Returns
| Type | Description |
|---|---|
list | A list of model instances matching the query filters. |