Projet

Général

Profil

0005-templates-load-static-module-instead-of-deprecated-s.patch

Frédéric Péters, 06 septembre 2022 19:23

Télécharger (1,69 ko)

Voir les différences:

Subject: [PATCH 5/5] templates: load static module instead of deprecated
 staticfiles (#68784)

 fargo/templates/fargo/base.html        | 2 +-
 fargo/templates/fargo/base_iframe.html | 2 +-
 fargo/templates/fargo/home.html        | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)
fargo/templates/fargo/base.html
1 1
{% extends "gadjo/base.html" %}
2
{% load i18n staticfiles gadjo %}
2
{% load i18n static gadjo %}
3 3
{% block page-title %}Fargo{% endblock %}
4 4
{% block site-title %}Fargo{% endblock %}
5 5
{% block css %}
fargo/templates/fargo/base_iframe.html
1
{% load gadjo staticfiles %}<!DOCTYPE html>
1
{% load gadjo static %}<!DOCTYPE html>
2 2
<html>
3 3
  <head>
4 4
    <script src="{% xstatic 'jquery' 'jquery.min.js' %}"></script>
fargo/templates/fargo/home.html
1 1
{% extends "fargo/base.html" %}
2 2
{% load render_table from django_tables2 %}
3
{% load gadjo i18n staticfiles %}
3
{% load gadjo i18n static %}
4 4

  
5 5
{% block content %}
6 6
  <script src="{% xstatic 'jquery-ui' 'jquery-ui.min.js' %}"></script>
7
-