cmsmanage/membershipworks/urls.py
Adam Goldsmith 0ce441336f
Some checks failed
Ruff / ruff (push) Successful in 1m23s
Test / test (push) Failing after 6m7s
membershipworks: Add ability for instructors to generate and submit event invoices
2024-04-14 01:31:03 -04:00

59 lines
1.3 KiB
Python

from django.urls import path
from . import views
app_name = "membershipworks"
urlpatterns = [
path(
"member-autocomplete/",
views.MemberAutocomplete.as_view(),
name="member-autocomplete",
),
path(
"upcoming-events/",
views.upcoming_events,
name="upcoming-events",
),
path(
"event-report/",
views.EventIndexReport.as_view(),
name="event-index-report",
),
path(
"event-report/<int:year>/",
views.EventYearReport.as_view(),
name="event-year-report",
),
path(
"event-report/<int:year>/<int:month>/",
views.EventMonthReport.as_view(month_format="%m"),
name="event-month-report",
),
path(
"my-events/",
views.UserEventView.as_view(),
name="user-events",
),
path(
"event/<eid>",
views.EventDetailView.as_view(),
name="event-detail",
),
path(
"event/invoice/<uuid:uuid>.pdf",
views.EventInvoicePDFView.as_view(),
name="event-invoice-pdf",
),
path(
"event-attendees",
views.EventAttendeeListView.as_view(),
name="event-attendees",
),
path(
"missing-paperwork",
views.MissingPaperworkReport.as_view(),
name="missing-paperwork-report",
),
]