Skip to content

Commit

Permalink
Merge pull request darklow#711 from amureki/issues/710/admin_static
Browse files Browse the repository at this point in the history
Fix darklow#710 - Remove `admin_static` template tag in favor of `static`
  • Loading branch information
darklow authored Jan 10, 2020
2 parents afcc506 + e30ce4b commit 0d854c9
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion demo/demo/templates/admin/base_site.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{% extends 'admin/base_site.html' %}
{% load suit_tags admin_static %}
{% load suit_tags static %}

{# Following is an example how to extend admin by custom CSS or JS files #}
{# Add extra CSS for admin #}
Expand Down
2 changes: 1 addition & 1 deletion suit/templates/admin/base.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{% extends 'admin/base.html' %}
{% load i18n admin_static suit_tags %}
{% load i18n static suit_tags %}

{% block stylesheet %}{% static "suit/css/suit.css" %}{% endblock %}

Expand Down
2 changes: 1 addition & 1 deletion suit/templates/admin/change_list_results.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{% load i18n admin_static suit_list %}
{% load i18n static suit_list %}
{% if result_hidden_fields %}
<div class="hiddenfields">{# DIV for HTML validation #}
{% for item in result_hidden_fields %}{{ item }}{% endfor %}
Expand Down

0 comments on commit 0d854c9

Please sign in to comment.