Skip to content

Commit 32e3e1c

Browse files
committed
fix #12 admin_static is removed in django3
1 parent 01e3c0c commit 32e3e1c

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

adminlteui/templates/admin/base.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
{% load i18n admin_static adminlte_options adminlte_menu %}<!DOCTYPE html>
1+
{% load i18n static adminlte_options adminlte_menu %}<!DOCTYPE html>
22
{% get_current_language as LANGUAGE_CODE %}{% get_current_language_bidi as LANGUAGE_BIDI %}
33

44
{% get_adminlte_settings as adminlte %}

adminlteui/templates/admin/login.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
{% load i18n admin_static adminlte_options %}<!DOCTYPE html>
1+
{% load i18n static adminlte_options %}<!DOCTYPE html>
22
{% get_current_language as LANGUAGE_CODE %}{% get_current_language_bidi as LANGUAGE_BIDI %}
33
<html lang="{{ LANGUAGE_CODE|default:"en-us" }}" {% if LANGUAGE_BIDI %}dir="rtl"{% endif %}>
44
<head>

adminlteui/templates/adminlte/general_option.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{% extends 'admin/base_site.html' %}
2-
{% load i18n admin_static adminlte_options %}
2+
{% load i18n static adminlte_options %}
33

44
{% block extrastyle %}
55
{{ block.super }}

adminlteui/templates/registration/logged_out.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
{% load i18n admin_static adminlte_options %}<!DOCTYPE html>
1+
{% load i18n static adminlte_options %}<!DOCTYPE html>
22
{% get_current_language as LANGUAGE_CODE %}{% get_current_language_bidi as LANGUAGE_BIDI %}
33
<html lang="{{ LANGUAGE_CODE|default:"en-us" }}" {% if LANGUAGE_BIDI %}dir="rtl"{% endif %}>
44
<head>

0 commit comments

Comments
 (0)