Add privacy policy page and update URLs configuration
This commit is contained in:
parent
fbe24915fe
commit
ac07607dd0
2 changed files with 23 additions and 0 deletions
|
@ -1,4 +1,5 @@
|
|||
from django.urls import include, path
|
||||
from django.views.generic import TemplateView
|
||||
|
||||
from . import views
|
||||
|
||||
|
@ -6,4 +7,5 @@ urlpatterns = [
|
|||
path("", views.HomePageView.as_view(), name="index"),
|
||||
path("accounts/signup/", views.SignupView.as_view(), name="signup"),
|
||||
path("accounts/", include("django.contrib.auth.urls")),
|
||||
path("legal/", TemplateView.as_view(template_name="privacy.html")),
|
||||
]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue