mirror of
https://github.com/jazzband/django-admin-sortable.git
synced 2026-03-27 11:10:29 +00:00
Add CSRF tweak to admin template.
This commit is contained in:
parent
7f043f588b
commit
53291d2fd7
1 changed files with 1 additions and 0 deletions
|
|
@ -10,6 +10,7 @@
|
|||
{% if has_sortable_tabular_inlines or has_sortable_stacked_inlines %}
|
||||
{% include sortable_javascript_includes_template with inlines=True %}
|
||||
{% endif %}
|
||||
<script type="text/javascript" src="{% static 'adminsortable/js/jquery.django-csrf.js' %}"></script>
|
||||
{% if has_sortable_tabular_inlines %}
|
||||
<script type="text/javascript" src="{% static 'adminsortable/js/admin.sortable.tabular.inlines.js' %}"></script>
|
||||
{% endif %}
|
||||
|
|
|
|||
Loading…
Reference in a new issue