Skip to content

Commit

Permalink
Per jazzband#352, change {% load staticfiles %} to {% load static %} …
Browse files Browse the repository at this point in the history
…in silk templates to clean up RemovedInDjango30Warning log messages when loading silk pages with Django 2.1+.
  • Loading branch information
devmonkey22 committed Jun 24, 2019
1 parent 457b6f9 commit 80567ba
Show file tree
Hide file tree
Showing 11 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion silk/templates/silk/base/base.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{% load staticfiles %}
{% load static %}
<!DOCTYPE html>
<html>
<head>
Expand Down
2 changes: 1 addition & 1 deletion silk/templates/silk/base/detail_base.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{% extends 'silk/base/base.html' %}
{% load staticfiles %}
{% load static %}
{% block style %}
<link rel="stylesheet" href="{% static 'silk/lib/highlight/foundation.css' %}"/>
<link rel="stylesheet" href="{% static 'silk/css/heading.css' %}"/>
Expand Down
2 changes: 1 addition & 1 deletion silk/templates/silk/base/root_base.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{% extends "silk/base/base.html" %}
{% load silk_nav %}
{% load silk_inclusion %}
{% load staticfiles %}
{% load static %}

{% block body_class %}
cbp-spmenu-push
Expand Down
2 changes: 1 addition & 1 deletion silk/templates/silk/cprofile.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
{% load silk_filters %}
{% load silk_nav %}
{% load silk_inclusion %}
{% load staticfiles %}
{% load static %}

{% block js %}
<script type="text/javascript" src="{% static 'silk/lib/viz-lite.js' %}"></script>
Expand Down
2 changes: 1 addition & 1 deletion silk/templates/silk/profile_detail.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
{% load silk_filters %}
{% load silk_nav %}
{% load silk_inclusion %}
{% load staticfiles %}
{% load static %}

{% block js %}
<script type="text/javascript" src="{% static 'silk/lib/viz-lite.js' %}"></script>
Expand Down
2 changes: 1 addition & 1 deletion silk/templates/silk/profiling.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{% extends 'silk/base/root_base.html' %}
{% load staticfiles %}
{% load static %}
{% load silk_inclusion %}

{% block menu %}
Expand Down
2 changes: 1 addition & 1 deletion silk/templates/silk/raw.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{% load staticfiles %}
{% load static %}
<html>
<head>
<link rel="stylesheet" href="{% static 'silk/css/fonts.css' %}"/>
Expand Down
2 changes: 1 addition & 1 deletion silk/templates/silk/request.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{% extends "silk/base/base.html" %}
{% load silk_filters %}
{% load silk_inclusion %}
{% load staticfiles %}
{% load static %}
{% block style %}
<link rel="stylesheet" href="{% static 'silk/css/cell.css' %}"/>
<link rel="stylesheet" href="{% static 'silk/css/numeric.css' %}"/>
Expand Down
2 changes: 1 addition & 1 deletion silk/templates/silk/requests.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{% extends 'silk/base/root_base.html' %}
{% load silk_inclusion %}
{% load staticfiles %}
{% load static %}

{% block menu %}
{% root_menu request %}
Expand Down
2 changes: 1 addition & 1 deletion silk/templates/silk/sql.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

{% load silk_nav %}
{% load silk_filters %}
{% load staticfiles %}
{% load static %}
{% load silk_inclusion %}

{% block js %}
Expand Down
2 changes: 1 addition & 1 deletion silk/templates/silk/summary.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{% extends 'silk/base/root_base.html' %}
{% load silk_inclusion %}
{% load staticfiles %}
{% load static %}
{% block menu %}
{% root_menu request %}
{% endblock %}
Expand Down

0 comments on commit 80567ba

Please sign in to comment.