Fix static ?

This commit is contained in:
Yohann D'ANELLO 2020-05-06 19:54:50 +02:00
parent 6f5b35c0d7
commit ce9f5b5665
3 changed files with 5 additions and 5 deletions

View File

@ -1,6 +1,6 @@
{% extends "base.html" %}
{% load getconfig i18n django_tables2 static %}
{% load getconfig i18n django_tables2 %}
{% block content %}
<div class="card bg-light shadow">
@ -59,7 +59,7 @@
<div class="card-body">
<div class="alert alert-warning">
{% trans "Templates for syntheses are available here:" %}
<a data-turbolinks="false" href="{% static "Fiche synthèse.pdf" %}">PDF</a> -- <a data-turbolinks="false" href="{% static "Fiche synthèse.tex" %}">TEX</a>
<a data-turbolinks="false" href="/static/Fiche%20synthèse.pdf">PDF</a> -- <a data-turbolinks="false" href="/static/Fiche%20synthèse.pdf">TEX</a>
</div>
{% if user.organizes %}
<ul>

View File

@ -1,11 +1,11 @@
{% extends "base.html" %}
{% load i18n crispy_forms_filters django_tables2 static %}
{% load i18n crispy_forms_filters django_tables2 %}
{% block content %}
<div class="alert alert-warning">
{% trans "Templates for syntheses are available here:" %}
<a data-turbolinks="false" href="{% static "Fiche synthèse.pdf" %}">PDF</a> -- <a data-turbolinks="false" href="{% static "Fiche synthèse.tex" %}">TEX</a>
<a data-turbolinks="false" href="/static/Fiche%20synthèse.pdf">PDF</a> -- <a data-turbolinks="false" href="/static/Fiche%20synthèse.pdf">TEX</a>
</div>
{% if form %}

View File

@ -12,7 +12,7 @@ DATABASES = {
}
# Break it, fix it!
DEBUG = True
DEBUG = False
# Mandatory !
ALLOWED_HOSTS = ['inscription.tfjm.org']