From 6ff8967e193474d8f5646c65e45da32617eb154e Mon Sep 17 00:00:00 2001 From: Alec Perkins Date: Sat, 8 Sep 2012 11:40:02 -0400 Subject: [PATCH] Disable non-functional methods --- djangorestframework/templates/djangorestframework/base.html | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/djangorestframework/templates/djangorestframework/base.html b/djangorestframework/templates/djangorestframework/base.html index 0e1159483..2fa7bdf2f 100644 --- a/djangorestframework/templates/djangorestframework/base.html +++ b/djangorestframework/templates/djangorestframework/base.html @@ -111,6 +111,9 @@ {% endif %} + {% comment %} + {# These are disabled since the forms don't work with 2.0.0 yet #} + {% if response.status_code != 403 %} {% if 'POST' in allowed_methods %} @@ -168,6 +171,8 @@ {% endif %} + + {% endcomment %}