You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
675 B
17 lines
675 B
from django.urls import path
|
|
|
|
from . import views
|
|
|
|
app_name = 'tariff_app'
|
|
|
|
urlpatterns = [
|
|
path('', views.TariffsListView.as_view(), name='home'),
|
|
path('<int:tarif_id>/', views.edit_tarif, name='edit'),
|
|
path('<int:tarif_id>/users/', views.ServiceUsers.as_view(), name='service_users'),
|
|
path('add/', views.edit_tarif, name='add'),
|
|
path('del/<int:tid>/', views.TariffDeleteView.as_view(), name='del'),
|
|
|
|
path('periodic_pays/', views.PeriodicPaysListView.as_view(), name='periodic_pays'),
|
|
path('periodic_pays/add/', views.periodic_pay, name='periodic_pay_add'),
|
|
path('periodic_pays/<int:pay_id>/', views.periodic_pay, name='periodic_pay_edit')
|
|
]
|