def documentation(self, request):
        """ Resource documentation.

        .. versionadded:: 0.7.2
            Content-Type check

        :return django.http.HttpResponse

        """
        self.update_urls(request)
        context = {
            "resources": sorted(self.resource_map.items())
        }
        return render(request, "jsonapi/index.html", context)
def documentation ( self , request ) : self . update_urls ( request ) context = { "resources" : sorted ( self . resource_map . items ( ) ) } return render ( request , "jsonapi/index.html" , context )
Resource documentation.

        .. versionadded:: 0.7.2
            Content-Type check

        :return django.http.HttpResponse