1
0
mirror of https://gitlab.com/animath/si/plateforme.git synced 2024-12-24 17:02:24 +00:00

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" %} {% extends "base.html" %}
{% load getconfig i18n django_tables2 static %} {% load getconfig i18n django_tables2 %}
{% block content %} {% block content %}
<div class="card bg-light shadow"> <div class="card bg-light shadow">
@ -59,7 +59,7 @@
<div class="card-body"> <div class="card-body">
<div class="alert alert-warning"> <div class="alert alert-warning">
{% trans "Templates for syntheses are available here:" %} {% 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> </div>
{% if user.organizes %} {% if user.organizes %}
<ul> <ul>

View File

@ -1,11 +1,11 @@
{% extends "base.html" %} {% extends "base.html" %}
{% load i18n crispy_forms_filters django_tables2 static %} {% load i18n crispy_forms_filters django_tables2 %}
{% block content %} {% block content %}
<div class="alert alert-warning"> <div class="alert alert-warning">
{% trans "Templates for syntheses are available here:" %} {% 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> </div>
{% if form %} {% if form %}

View File

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