mirror of
https://framagit.org/la-chariotte/la-chariotte.git
synced 2025-05-01 11:22:24 +02:00
Use french in the URLs paths.
It was using a mix of french and english, so I uniformized everything.
This commit is contained in:
parent
5a309ee8e8
commit
5c2ac34163
1 changed files with 10 additions and 10 deletions
|
@ -13,17 +13,17 @@ Including another URLconf
|
|||
1. Import the include() function: from django.urls import include, path
|
||||
2. Add a URL to urlpatterns: path('blog/', include('blog.urls'))
|
||||
"""
|
||||
# fmt:off
|
||||
|
||||
from django.contrib import admin
|
||||
from django.contrib.auth.views import (PasswordResetCompleteView,
|
||||
from django.contrib.auth.views import (
|
||||
PasswordResetCompleteView,
|
||||
PasswordResetConfirmView,
|
||||
PasswordResetDoneView,
|
||||
PasswordResetView)
|
||||
PasswordResetView,
|
||||
)
|
||||
from django.urls import include, path
|
||||
from django.views.generic.base import TemplateView
|
||||
|
||||
# fmt:on
|
||||
|
||||
urlpatterns = [
|
||||
path("admin/", admin.site.urls),
|
||||
path("commande/", include("la_chariotte.order.urls")),
|
||||
|
@ -35,17 +35,17 @@ urlpatterns = [
|
|||
# prompts for a new password
|
||||
# - PasswordResetCompleteView shows a success message for the above
|
||||
path(
|
||||
"comptes/reset/<uidb64>/<token>/",
|
||||
"comptes/reinitialisation/<uidb64>/<token>/",
|
||||
PasswordResetConfirmView.as_view(),
|
||||
name="password_reset_confirm",
|
||||
),
|
||||
path(
|
||||
"comptes/reset/mail_sent/",
|
||||
"comptes/reinitialisation/mail-envoyé/",
|
||||
PasswordResetDoneView.as_view(),
|
||||
name="password_reset_done",
|
||||
),
|
||||
path(
|
||||
"comptes/reset/done/",
|
||||
"comptes/reinitialisation/terminé/",
|
||||
PasswordResetCompleteView.as_view(),
|
||||
name="password_reset_complete",
|
||||
),
|
||||
|
|
Loading…
Reference in a new issue