Fixed the changed to the get_do_sorting_url template tag that somehow didn't make it into the previous release.

master
Brandon Taylor 2012-11-02 13:33:55 -04:00
parent 810f8a0dd4
commit a66757d728
3 changed files with 3 additions and 1 deletions

2
.gitignore vendored
View File

@ -8,4 +8,6 @@ django_admin_sortable.egg-info
atlassian-ide-plugin.xml atlassian-ide-plugin.xml
django-admin-sortable.sublime-project django-admin-sortable.sublime-project
django-admin-sortable.sublime-workspace django-admin-sortable.sublime-workspace
adminsortable.sublime-project
adminsortable.sublime-workspace
.ropeproject .ropeproject

View File

@ -17,7 +17,7 @@
{% if inline_admin_form.has_auto_field %}{{ inline_admin_form.pk_field.field }}{% endif %} {% if inline_admin_form.has_auto_field %}{{ inline_admin_form.pk_field.field }}{% endif %}
{{ inline_admin_form.fk_field.field }} {{ inline_admin_form.fk_field.field }}
{% if inline_admin_form.original %} {% if inline_admin_form.original %}
<input type="hidden" name="admin_sorting_url" value="{% get_do_sorting_url inline_admin_form.original.model_type_id %}" /> <input type="hidden" name="admin_sorting_url" value="{% get_do_sorting_url inline_admin_form.original %}" />
{% endif %} {% endif %}
</div> </div>
{% endfor %} {% endfor %}

Binary file not shown.