symposion_app/registrasion/urls.py

58 lines
1.6 KiB
Python
Raw Normal View History

2016-09-02 01:20:03 +00:00
from reporting import views as reporting_views
2016-04-07 09:19:19 +00:00
from django.conf.urls import include
from django.conf.urls import url
from .views import (
product_category,
checkout,
credit_note,
invoice,
manual_payment,
refund,
invoice_access,
edit_profile,
guided_registration,
)
public = [
url(r"^category/([0-9]+)$", product_category, name="product_category"),
url(r"^checkout$", checkout, name="checkout"),
url(r"^credit_note/([0-9]+)$", credit_note, name="credit_note"),
url(r"^invoice/([0-9]+)$", invoice, name="invoice"),
url(r"^invoice/([0-9]+)/([A-Z0-9]+)$", invoice, name="invoice"),
2016-04-07 09:19:19 +00:00
url(r"^invoice/([0-9]+)/manual_payment$",
manual_payment, name="manual_payment"),
url(r"^invoice/([0-9]+)/refund$",
refund, name="refund"),
url(r"^invoice_access/([A-Z0-9]+)$", invoice_access,
2016-04-08 03:15:24 +00:00
name="invoice_access"),
url(r"^profile$", edit_profile, name="attendee_edit"),
url(r"^register$", guided_registration, name="guided_registration"),
url(r"^register/([0-9]+)$", guided_registration,
2016-03-25 03:51:39 +00:00
name="guided_registration"),
]
reports = [
2016-09-02 01:20:03 +00:00
url(r"^$", reporting_views.reports_list, name="reports_list"),
2016-09-02 01:43:27 +00:00
url(
r"^credit_notes/?$",
reporting_views.credit_notes,
name="credit_notes"
),
2016-09-02 01:25:50 +00:00
url(
r"^product_status/?$",
reporting_views.product_status,
name="product_status",
),
2016-09-02 01:20:03 +00:00
url(r"^items_sold/?$", reporting_views.items_sold, name="items_sold"),
]
urlpatterns = [
url(r"^reports/", include(reports)),
url(r"^", include(public)) # This one must go last.
]