diff --git a/rest_framework/templates/rest_framework/base.html b/rest_framework/templates/rest_framework/base.html index 2776d5500..a4ba6f2ad 100644 --- a/rest_framework/templates/rest_framework/base.html +++ b/rest_framework/templates/rest_framework/base.html @@ -70,6 +70,7 @@
+ {% if 'GET' in allowed_methods %}
@@ -111,6 +112,17 @@
{{ description }} + {% if user.auth_token.key %} + + + + To use Token Authentication append the token into a GET variable named "token" or add + to the Authentization header as shown below: + +
Authorization: Token {{ user.auth_token.key }}
+ + {% endif %} +
{{ request.method }} {{ request.get_full_path }}