hackens-orga/hackens_orga/frontend/urls.py

30 lines
793 B
Python
Raw Normal View History

2023-02-16 19:11:33 +01:00
from django.urls import include, path
2023-02-08 03:30:11 +01:00
2023-02-16 19:11:33 +01:00
from .views import (BudgetGroupCreateView, BudgetGroupUpdateView,
BudgetLineCreateView, BudgetLineUpdateView, BudgetListView)
2023-02-08 03:30:11 +01:00
app_name = "frontend"
urlpatterns = [
path("", BudgetListView.as_view(), name="budget"),
2023-02-16 19:11:33 +01:00
path(
"budget-group/create",
BudgetGroupCreateView.as_view(),
name="budget-group-create",
),
path(
"budget-group/<int:pk>/update",
BudgetGroupUpdateView.as_view(),
name="budget-group-update",
),
path(
"budget-line/create",
BudgetLineCreateView.as_view(),
name="budget-line-create",
),
path(
"budget-line/<int:pk>/update",
BudgetLineUpdateView.as_view(),
name="budget-line-update",
),
2023-02-08 03:30:11 +01:00
]