module documentation

Generic views that provide commonly needed behaviour.

Class CreateAPIView Concrete view for creating a model instance.
Class DestroyAPIView Concrete view for deleting a model instance.
Class GenericAPIView Base class for all other generic views.
Class ListAPIView Concrete view for listing a queryset.
Class ListCreateAPIView Concrete view for listing a queryset or creating a model instance.
Class RetrieveAPIView Concrete view for retrieving a model instance.
Class RetrieveDestroyAPIView Concrete view for retrieving or deleting a model instance.
Class RetrieveUpdateAPIView Concrete view for retrieving, updating a model instance.
Class RetrieveUpdateDestroyAPIView Concrete view for retrieving, updating or deleting a model instance.
Class UpdateAPIView Concrete view for updating a model instance.
Function get_object_or_404 Same as Django's standard shortcut, but make sure to also raise 404 if the filter_kwargs don't match the required types.
def get_object_or_404(queryset, *filter_args, **filter_kwargs): (source)

Same as Django's standard shortcut, but make sure to also raise 404 if the filter_kwargs don't match the required types.