load static instead of staticfiles

From release notes in 2.1:
> {% load staticfiles %} and {% load admin_static %} are deprecated in favor of {% load static %}, which works the same.
This commit is contained in:
Guilhem Saurel 2019-11-11 19:05:52 +01:00
parent 6fcafd6544
commit f0aafb3ca9
6 changed files with 6 additions and 6 deletions

View File

@ -1,5 +1,5 @@
{% extends 'base.html' %}
{% load staticfiles i18n %}
{% load static i18n %}
{% block admintab %} class="active"{% endblock %}

View File

@ -1,5 +1,5 @@
{% extends 'base.html' %}
{% load staticfiles i18n %}
{% load static i18n %}
{% block stafftab %} class="active"{% endblock %}

View File

@ -1,5 +1,5 @@
{% extends 'cfp/staff/base.html' %}
{% load i18n bootstrap3 staticfiles %}
{% load i18n bootstrap3 static %}
{% block speakerstab %} class="active"{% endblock %}

View File

@ -1,5 +1,5 @@
{% extends 'cfp/staff/base.html' %}
{% load i18n bootstrap3 staticfiles %}
{% load i18n bootstrap3 static %}
{% block talkstab %} class="active"{% endblock %}

View File

@ -1,5 +1,5 @@
{% extends 'cfp/staff/base.html' %}
{% load i18n bootstrap3 staticfiles %}
{% load i18n bootstrap3 static %}
{% block volunteerstab %} class="active"{% endblock %}

View File

@ -1,4 +1,4 @@
{% load staticfiles bootstrap3 %}
{% load static bootstrap3 %}
<!DOCTYPE html>
<html lang="en">
<head>