Fix static ?
This commit is contained in:
parent
6f5b35c0d7
commit
ce9f5b5665
|
@ -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>
|
||||
|
|
|
@ -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 %}
|
||||
|
|
|
@ -12,7 +12,7 @@ DATABASES = {
|
|||
}
|
||||
|
||||
# Break it, fix it!
|
||||
DEBUG = True
|
||||
DEBUG = False
|
||||
|
||||
# Mandatory !
|
||||
ALLOWED_HOSTS = ['inscription.tfjm.org']
|
||||
|
|
Loading…
Reference in New Issue