mirror of
https://github.com/jazzband/django-categories.git
synced 2026-03-16 22:30:24 +00:00
1.5 compat: remove adminmedia templatetag calls
See https://docs.djangoproject.com/en/1.5/releases/1.5/#miscellaneous
This commit is contained in:
parent
46f28a3703
commit
1d7463db2a
3 changed files with 4 additions and 4 deletions
|
|
@ -1,5 +1,5 @@
|
|||
{% extends "admin/change_list.html" %}
|
||||
{% load adminmedia admin_list i18n admin_tree_list %}
|
||||
{% load admin_list i18n admin_tree_list %}
|
||||
{% block extrahead %}
|
||||
{{block.super}}
|
||||
<script type="text/javascript">
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
{% extends "admin/change_list.html" %}
|
||||
{% load adminmedia admin_list i18n admin_tree_list %}
|
||||
{% load admin_list i18n admin_tree_list %}
|
||||
{% block extrahead %}
|
||||
{{block.super}}
|
||||
<script type="text/javascript">
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
{% load i18n adminmedia %}
|
||||
{% load i18n staticfiles %}
|
||||
<div class="inline-group">
|
||||
<div class="tabular inline-related {% if forloop.last %}last-related{% endif %}">
|
||||
{{ inline_admin_formset.formset.management_form }}
|
||||
|
|
@ -46,7 +46,7 @@
|
|||
{% ifequal field.field.name inline_admin_formset.formset.ct_fk_field %}
|
||||
{{ field.field }}
|
||||
<a id="lookup_id_{{field.field.html_name}}" class="related-lookup" onclick="return showGenericRelatedObjectLookupPopup(this, {{ inline_admin_formset.formset.content_types }});" href="#">
|
||||
<img width="16" height="16" alt="Lookup" src="{% admin_media_prefix %}img/admin/selector-search.gif"/>
|
||||
<img width="16" height="16" alt="Lookup" src="{% static 'img/admin/selector-search.gif' %}"/>
|
||||
</a>
|
||||
{% else %}{{ field.field }} {% endifequal %}
|
||||
{% endif %}
|
||||
|
|
|
|||
Loading…
Reference in a new issue