diff --git a/cof/urls.py b/cof/urls.py
index 774169c5..6a1ed9e2 100644
--- a/cof/urls.py
+++ b/cof/urls.py
@@ -21,7 +21,7 @@ app_dict = {
"gestioncof": "",
"bda": "bda/",
"petitscours": "petitcours/",
- "kfet": "k-fet",
+ "kfet": "k-fet/",
# events module is still experimental !
"events": "event_v2/",
"authens": "authens/",
diff --git a/gestioncof/templates/gestioncof/utile_cof.html b/gestioncof/templates/gestioncof/utile_cof.html
index 89b8ec23..71a3b865 100644
--- a/gestioncof/templates/gestioncof/utile_cof.html
+++ b/gestioncof/templates/gestioncof/utile_cof.html
@@ -7,7 +7,7 @@
Liens utiles du COF
COF
diff --git a/gestioncof/tests/test_views.py b/gestioncof/tests/test_views.py
index ac18573e..682d85f2 100644
--- a/gestioncof/tests/test_views.py
+++ b/gestioncof/tests/test_views.py
@@ -26,7 +26,7 @@ User = get_user_model()
class RegistrationViewTests(ViewTestCaseMixin, TestCase):
url_name = "registration"
- url_expected = "/registration"
+ url_expected = "/registration/"
http_methods = ["GET", "POST"]
@@ -269,7 +269,7 @@ class RegistrationFormViewTests(ViewTestCaseMixin, TestCase):
@override_settings(LDAP_SERVER_URL="ldap_url")
class RegistrationAutocompleteViewTests(MockLDAPMixin, ViewTestCaseMixin, TestCase):
url_name = "cof.registration.autocomplete"
- url_expected = "/autocomplete/registration"
+ url_expected = "/registration/autocomplete"
auth_user = "staff"
auth_forbidden = [None, "user", "member"]
@@ -480,7 +480,7 @@ class UserAutocompleteViewTests(ViewTestCaseMixin, TestCase):
class ExportMembersViewTests(CSVResponseMixin, ViewTestCaseMixin, TestCase):
- url_name = "cof.membres_export"
+ url_name = "export.members"
url_expected = "/export/members"
auth_user = "staff"
@@ -520,8 +520,8 @@ class ExportMembersViewTests(CSVResponseMixin, ViewTestCaseMixin, TestCase):
class ExportMegaViewTests(MegaHelperMixin, ViewTestCaseMixin, TestCase):
- url_name = "cof.mega_export"
- url_expected = "/export/mega"
+ url_name = "export.mega.all"
+ url_expected = "/export/mega/all"
auth_user = "staff"
auth_forbidden = [None, "user", "member"]
@@ -549,7 +549,7 @@ class ExportMegaViewTests(MegaHelperMixin, ViewTestCaseMixin, TestCase):
class ExportMegaOrgasViewTests(MegaHelperMixin, ViewTestCaseMixin, TestCase):
- url_name = "cof.mega_export_orgas"
+ url_name = "export.mega.orgas"
url_expected = "/export/mega/orgas"
auth_user = "staff"
@@ -578,7 +578,7 @@ class ExportMegaOrgasViewTests(MegaHelperMixin, ViewTestCaseMixin, TestCase):
class ExportMegaParticipantsViewTests(MegaHelperMixin, ViewTestCaseMixin, TestCase):
- url_name = "cof.mega_export_participants"
+ url_name = "export.mega.participants"
url_expected = "/export/mega/participants"
auth_user = "staff"
@@ -595,7 +595,7 @@ class ExportMegaParticipantsViewTests(MegaHelperMixin, ViewTestCaseMixin, TestCa
class ExportMegaRemarksViewTests(MegaHelperMixin, ViewTestCaseMixin, TestCase):
- url_name = "cof.mega_export_remarks"
+ url_name = "export.mega.remarks"
url_expected = "/export/mega/avecremarques"
auth_user = "staff"
diff --git a/gestioncof/urls.py b/gestioncof/urls.py
index dd055938..677a3efe 100644
--- a/gestioncof/urls.py
+++ b/gestioncof/urls.py
@@ -6,7 +6,7 @@ from django_cas_ng import views as django_cas_views
from gestioncof import csv_views, views
export_patterns = [
- path("members", views.export_members, name="export.membres"),
+ path("members", views.export_members, name="export.members"),
path(
"mega/avecremarques", views.export_mega_remarksonly, name="export.mega.remarks",
),