nk20/apps/treasury/urls.py

15 lines
577 B
Python
Raw Normal View History

2020-03-20 23:30:49 +00:00
# Copyright (C) 2018-2020 by BDE ENS Paris-Saclay
# SPDX-License-Identifier: GPL-3.0-or-later
from django.urls import path
2020-03-21 06:36:07 +00:00
from .views import BillingCreateView, BillingListView, BillingUpdateView, BillingRenderView
2020-03-20 23:30:49 +00:00
app_name = 'treasury'
urlpatterns = [
path('billing/', BillingListView.as_view(), name='billing'),
path('billing/create/', BillingCreateView.as_view(), name='billing_create'),
path('billing/<int:pk>/', BillingUpdateView.as_view(), name='billing_update'),
2020-03-21 06:36:07 +00:00
path('billing/render/<int:pk>/', BillingRenderView.as_view(), name='billing_render'),
2020-03-20 23:30:49 +00:00
]