2021-02-27 20:07:48 +00:00
|
|
|
"""URLs for the membersystem"""
|
|
|
|
from django.contrib import admin
|
|
|
|
from django.contrib.auth.decorators import login_required
|
|
|
|
from django.urls import include
|
|
|
|
from django.urls import path
|
|
|
|
|
|
|
|
import debug_toolbar
|
|
|
|
|
2021-02-28 11:41:10 +00:00
|
|
|
from .views import index, services_overview
|
2021-02-28 22:00:11 +00:00
|
|
|
from membership.views import membership_overview
|
2021-02-27 20:07:48 +00:00
|
|
|
|
|
|
|
urlpatterns = [
|
2021-02-28 11:41:10 +00:00
|
|
|
path("", login_required(index), name="index"),
|
|
|
|
path("services/", login_required(services_overview), name="services-overview"),
|
2021-02-28 22:00:11 +00:00
|
|
|
path("membership/", membership_overview, name="membership-overview"),
|
2021-02-27 20:07:48 +00:00
|
|
|
path('accounts/', include('allauth.urls')),
|
|
|
|
path("admin/", admin.site.urls),
|
|
|
|
path("__debug__/", include(debug_toolbar.urls)),
|
|
|
|
]
|