templates: load static module instead of deprecated staticfiles (#68784)
gitea/fargo/pipeline/head Build started... Details

This commit is contained in:
Frédéric Péters 2022-09-06 19:19:59 +02:00
parent 658f025b64
commit aada244462
3 changed files with 3 additions and 3 deletions

View File

@ -1,5 +1,5 @@
{% extends "gadjo/base.html" %}
{% load i18n staticfiles gadjo %}
{% load i18n static gadjo %}
{% block page-title %}Fargo{% endblock %}
{% block site-title %}Fargo{% endblock %}
{% block css %}

View File

@ -1,4 +1,4 @@
{% load gadjo staticfiles %}<!DOCTYPE html>
{% load gadjo static %}<!DOCTYPE html>
<html>
<head>
<script src="{% xstatic 'jquery' 'jquery.min.js' %}"></script>

View File

@ -1,6 +1,6 @@
{% extends "fargo/base.html" %}
{% load render_table from django_tables2 %}
{% load gadjo i18n staticfiles %}
{% load gadjo i18n static %}
{% block content %}
<script src="{% xstatic 'jquery-ui' 'jquery-ui.min.js' %}"></script>