mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-01-24 08:14:16 +03:00
Disable non-functional methods
This commit is contained in:
parent
422ee696ab
commit
6ff8967e19
|
@ -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 -->
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user