mirror of
https://github.com/jazzband/django-admin-sortable.git
synced 2026-03-16 22:10:30 +00:00
Merge pull request #218 from cjtapper/master
Remove deprecated template tag libraries.
This commit is contained in:
commit
45478baa7b
3 changed files with 3 additions and 3 deletions
|
|
@ -1,6 +1,6 @@
|
|||
{% extends change_form_template_extends %}
|
||||
{% load i18n admin_modify %}
|
||||
{% load static from staticfiles %}
|
||||
{% load static %}
|
||||
|
||||
{% block extrahead %}
|
||||
{{ block.super }}
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
{% load i18n admin_urls admin_static django_template_additions %}
|
||||
{% load i18n admin_urls static django_template_additions %}
|
||||
{% get_django_version as django_version %}
|
||||
<div class="inline-group" id="{{ inline_admin_formset.formset.prefix }}-group">
|
||||
<h2>{{ inline_admin_formset.opts.verbose_name_plural|title }} {% if inline_admin_formset.formset.initial_form_count > 1 %} - {% trans "drag and drop to change order" %}{% endif %}</h2>
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
{% load i18n admin_urls admin_static admin_modify django_template_additions %}{% load cycle from future %}
|
||||
{% load i18n admin_urls static admin_modify django_template_additions %}{% load cycle from future %}
|
||||
{% get_django_version as django_version %}
|
||||
<div class="inline-group {% if django_version.major >= 1 and django_version.minor >= 9 %}flat-admin{% endif %}" id="{{ inline_admin_formset.formset.prefix }}-group">
|
||||
<div class="tabular inline-related {% if forloop.last %}last-related{% endif %}">
|
||||
|
|
|
|||
Loading…
Reference in a new issue