{{ name }}
-{{ description }}
-HTTP {{ response.status_code }} {{ response.status_text }}{% autoescape off %}
+
+
+
+ {% if 'OPTIONS' in allowed_methods and api_settings.FORM_METHOD_OVERRIDE %}
+
+ {% endif %}
+
+
+ {{ name }}
+ {{ description }}
+
+ HTTP {{ response.status_code }} {{ response.status_text }}{% autoescape off %}
{% for key, val in response.items %}{{ key }}: {{ val|urlize_quoted_links }}
{% endfor %}
{{ content|urlize_quoted_links }}{% endautoescape %}
- {% if 'GET' in allowed_methods %}
-
- {% endif %}
+ {% if 'GET' in allowed_methods %}
+
+ {% endif %}
- {% comment %}
- DROP POST/PUT/DELETE until the forms are working with REST framework 2
+ {% comment %}
+ DROP POST/PUT/DELETE until the forms are working with REST framework 2
- {# Only display the POST/PUT/DELETE forms if method tunneling via POST forms is enabled and the user has permissions on this view. #}
- {% if response.status_code != 403 %}
+ {# Only display the POST/PUT/DELETE forms if method tunneling via POST forms is enabled and the user has permissions on this view. #}
+ {% if response.status_code != 403 %}
- {% if 'POST' in allowed_methods %}
-
- {% endif %}
+ {% if 'POST' in allowed_methods %}
+
+ {% endif %}
- {% if 'PUT' in allowed_methods and api_settings.FORM_METHOD_OVERRIDE %}
-
- {% endif %}
+ {% if 'PUT' in allowed_methods and api_settings.FORM_METHOD_OVERRIDE %}
+
+ {% endif %}
- {% if 'DELETE' in allowed_methods and api_settings.FORM_METHOD_OVERRIDE %}
-
- {% endif %}
+ {% if 'DELETE' in allowed_methods and api_settings.FORM_METHOD_OVERRIDE %}
+
+ {% endif %}
- {% endif %}
- {% endcomment %}
-
-
+ {% endif %}
+ {% endcomment %}
+
+
-