Add CSRF tweak to admin template.
parent
7f043f588b
commit
53291d2fd7
|
|
@ -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 New Issue