From c4a93927a2b3f0cba1b40719bd54a9beaabbea28 Mon Sep 17 00:00:00 2001 From: Yohann D'ANELLO Date: Mon, 1 Feb 2021 03:21:09 +0100 Subject: [PATCH] Users can extend their connection through the captive portal --- portail/urls.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/portail/urls.py b/portail/urls.py index c1bf014a..2d65a021 100644 --- a/portail/urls.py +++ b/portail/urls.py @@ -25,6 +25,7 @@ to make a captive portal. This is only sugar, this does not provide any model. """ +from cotisations.views import new_facture from django.conf.urls import url from django.contrib.auth.views import LoginView @@ -33,4 +34,5 @@ from .views import SignUpView urlpatterns = [ url(r"^signup/$", SignUpView.as_view(), name="signup"), url(r"^login/$", LoginView.as_view(), name="login"), + url(r"^extend-connection/(?P[0-9]+)/$", new_facture, name="extend-connection"), ]