From 5d0c10526d1ac6baf2c9ec9f964072779ed7e286 Mon Sep 17 00:00:00 2001 From: Andy Babic Date: Wed, 28 Nov 2018 12:16:45 +0000 Subject: [PATCH] Add a 'request_forms' block --- rest_framework/templates/rest_framework/base.html | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/rest_framework/templates/rest_framework/base.html b/rest_framework/templates/rest_framework/base.html index 5b489ee1a..597afe5e9 100644 --- a/rest_framework/templates/rest_framework/base.html +++ b/rest_framework/templates/rest_framework/base.html @@ -76,6 +76,8 @@ {% block content %}
+ {% block request_forms %} + {% if 'GET' in allowed_methods %}
@@ -148,6 +150,8 @@ {% trans "Filters" %} {% endif %} + + {% endblock request_forms %}