Coverage for webpage/urls.py: 100%

6 statements  

« prev     ^ index     » next       coverage.py v7.5.3, created at 2024-06-10 15:48 +0000

1from django.urls import re_path 

2from django.views.generic.base import RedirectView 

3from . import views 

4 

5app_name = "webpage" 

6 

7favicon_view = RedirectView.as_view(url="/static/favicon.ico", permanent=True) 

8 

9urlpatterns = [ 

10 re_path(r"^$", views.StartView.as_view(), name="start"), 

11 re_path(r"^favicon\.ico$", favicon_view), 

12 re_path(r"^imprint/$", views.ImprintView.as_view(), name="imprint"), 

13 re_path(r"^project-info/$", views.project_info, name="project_info"), 

14 re_path(r"^terms-of-use/$", views.TermsOfUseView.as_view(), name="terms-of-use"), 

15 re_path(r"^about/$", views.AboutView.as_view(), name="about"), 

16 re_path(r"^manual/$", views.ManualView.as_view(), name="manual"), 

17 re_path(r"^accounts/login/$", views.user_login, name="user_login"), 

18 re_path(r"^logout/$", views.user_logout, name="user_logout"), 

19]