mirror of
https://github.com/jazzband/django-authority.git
synced 2026-03-16 22:20:28 +00:00
Change submit name to make edit_permission work
Turns out that since Django 1.2 the admin only invokes actions when
handling POST if the POST data specifically *doesn't* contain `_save`:
cce32a9b09
So this submit name was preventing `edit_permission` from acting on the
POST data since Django 1.2.
This commit is contained in:
parent
423bb90c71
commit
37cef6308e
1 changed files with 1 additions and 1 deletions
|
|
@ -45,7 +45,7 @@
|
|||
{% block after_related_objects %}{% endblock %}
|
||||
|
||||
<div class="submit-row">
|
||||
<input type="submit" value="{% trans 'Save' %}" class="default" name="_save" {{ onclick_attrib }}/>
|
||||
<input type="submit" value="{% trans 'Save' %}" class="default" name="_save_action" {{ onclick_attrib }}/>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Reference in a new issue