@@ -28,21 +28,22 @@ public = [
url(r"^invoice/([0-9]+)/refund$",
refund, name="refund"),
url(r"^invoice_access/([A-Z0-9]+)$", invoice_access,
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,
name="guided_registration"),
]
reports = [
url(r"^$", staff_views.reports_list, name="reports_list"),
url(r"^inventory/?$", staff_views.inventory, name="inventory"),
url(r"^items_sold/?$", staff_views.items_sold, name="items_sold"),
urlpatterns = [
url(r"^reports/", include(reports)),
url(r"^", include(public)) # This one must go last.