rename cof -> gestioCOF in some settings options

This commit is contained in:
Martin Pépin 2017-10-27 10:25:56 +02:00
parent ad60907b67
commit 34b4a453e6
3 changed files with 5 additions and 5 deletions

View file

@ -180,7 +180,7 @@ MAIL_DATA = {
'REPLYTO': 'BdA-Revente <bda-revente@ens.fr>'}, 'REPLYTO': 'BdA-Revente <bda-revente@ens.fr>'},
} }
LOGIN_URL = "cof-login" LOGIN_URL = "gestion:login"
LOGIN_REDIRECT_URL = "home" LOGIN_REDIRECT_URL = "home"
CAS_SERVER_URL = 'https://cas.eleves.ens.fr/' CAS_SERVER_URL = 'https://cas.eleves.ens.fr/'
@ -222,11 +222,11 @@ CHANNEL_LAYERS = {
port=REDIS_PORT, db=REDIS_DB) port=REDIS_PORT, db=REDIS_DB)
)], )],
}, },
"ROUTING": "cof.routing.routing", "ROUTING": "gestioCOF.routing.routing",
} }
} }
FORMAT_MODULE_PATH = 'cof.locale' FORMAT_MODULE_PATH = 'gestioCOF.locale'
# Wagtail settings # Wagtail settings

View file

@ -28,7 +28,7 @@ CACHES = {
CHANNEL_LAYERS = { CHANNEL_LAYERS = {
"default": { "default": {
"BACKEND": "asgiref.inmemory.ChannelLayer", "BACKEND": "asgiref.inmemory.ChannelLayer",
"ROUTING": "cof.routing.routing", "ROUTING": "gestioCOF.routing.routing",
} }
} }

View file

@ -114,7 +114,7 @@
</li> </li>
{% elif not user.is_authenticated %} {% elif not user.is_authenticated %}
<li> <li>
<a href="{% url "cof-login" %}?next={{ request.path }}" title="Connexion"> <a href="{% url "gestion:login" %}?next={{ request.path }}" title="Connexion">
<span>Connexion</span><!-- <span>Connexion</span><!--
--><span class="glyphicon glyphicon-log-in"></span> --><span class="glyphicon glyphicon-log-in"></span>
</a> </a>