django-refunds/refunding/urls.py

14 lines
716 B
Python
Raw Normal View History

2016-06-04 01:49:24 +02:00
from django.conf.urls import url
2016-06-04 03:44:41 +02:00
from refunding import views
2016-06-04 01:49:24 +02:00
urlpatterns = [
2016-06-04 03:44:41 +02:00
url(r'^refunds/$', views.latest_refunds, name='latest_refunds'),
url(r'^refunds/new/$', views.new_refund, name='new_refund'),
2016-06-04 04:29:21 +02:00
url(r'^refunds/(?P<pk>[0-9]+)/edit/$', views.refund_edit, name='refund_edit'),
url(r'^refunds/(?P<pk>[0-9]+)/delete/$', views.refund_delete, name='refund_delete'),
url(r'^payments/$', views.not_refunded_payments, name='not_refunded_payments'),
url(r'^payments/new/$', views.new_payment, name='new_payment'),
2016-06-04 12:13:53 +02:00
url(r'^payments/(?P<pk>[0-9]+)/edit/$', views.payment_edit, name='payment_edit'),
url(r'^payments/(?P<pk>[0-9]+)/delete/$', views.payment_delete, name='payment_delete'),
2016-06-04 01:49:24 +02:00
]