diff options
| author | Alec Perkins | 2012-09-08 11:40:02 -0400 | 
|---|---|---|
| committer | Alec Perkins | 2012-09-08 11:40:02 -0400 | 
| commit | 6ff8967e193474d8f5646c65e45da32617eb154e (patch) | |
| tree | 9a8f1fc25bebf04d50d3145a12dc4d657e220fb8 /djangorestframework | |
| parent | 422ee696abc7249c98d839c44838ad0de60c55e1 (diff) | |
| download | django-rest-framework-6ff8967e193474d8f5646c65e45da32617eb154e.tar.bz2 | |
Disable non-functional methods
Diffstat (limited to 'djangorestframework')
| -rw-r--r-- | djangorestframework/templates/djangorestframework/base.html | 5 | 
1 files changed, 5 insertions, 0 deletions
diff --git a/djangorestframework/templates/djangorestframework/base.html b/djangorestframework/templates/djangorestframework/base.html index 0e115948..2fa7bdf2 100644 --- a/djangorestframework/templates/djangorestframework/base.html +++ b/djangorestframework/templates/djangorestframework/base.html @@ -111,6 +111,9 @@                  </form>              {% 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 %}          </div>          <!-- END content-main -->  | 
