1
0
mirror of https://gitlab.com/animath/si/plateforme.git synced 2025-06-30 18:01:25 +02:00

Fix ETEAM name

Signed-off-by: Emmy D'Anello <emmy.danello@animath.fr>
This commit is contained in:
Emmy D'Anello
2024-06-08 00:44:26 +02:00
parent 109748ffc6
commit e258e6a337
7 changed files with 502 additions and 497 deletions

View File

@ -18,6 +18,7 @@ Including another URLconf
"""
from django.conf import settings
from django.contrib import admin
from django.utils.translation import gettext_lazy as _
from django.urls import include, path
from django.views.defaults import bad_request, page_not_found, permission_denied, server_error
from django.views.generic import TemplateView
@ -29,7 +30,8 @@ from .views import AdminSearchView
urlpatterns = [
# TODO ETEAM Rendre ça plus joli
path('', TemplateView.as_view(template_name=f"index_{settings.TFJM_APP.lower()}.html"), name='index'),
path('', TemplateView.as_view(template_name=f"index_{settings.TFJM_APP.lower()}.html", extra_context=_("Home")),
name='index'),
path('about/', TemplateView.as_view(template_name="about.html"), name='about'),
path('i18n/', include('django.conf.urls.i18n')),
path('admin/doc/', include('django.contrib.admindocs.urls')),