mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-02-03 13:14:30 +03:00
Disable non-functional methods
This commit is contained in:
parent
422ee696ab
commit
6ff8967e19
|
@ -111,6 +111,9 @@
|
||||||
</form>
|
</form>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
{% comment %}
|
||||||
|
{# These are disabled since the forms don't work with 2.0.0 yet #}
|
||||||
|
|
||||||
{% if response.status_code != 403 %}
|
{% if response.status_code != 403 %}
|
||||||
|
|
||||||
{% if 'POST' in allowed_methods %}
|
{% if 'POST' in allowed_methods %}
|
||||||
|
@ -168,6 +171,8 @@
|
||||||
|
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
|
||||||
|
{% endcomment %}
|
||||||
</div>
|
</div>
|
||||||
<!-- END content-main -->
|
<!-- END content-main -->
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user