cmsmanage/membershipworks/urls.py
Adam Goldsmith 560225cdb3
All checks were successful
Ruff / ruff (push) Successful in 20s
membershipworks: Add new event attendee email report
2024-02-02 19:26:06 -05:00

52 lines
1.1 KiB
Python

from django.urls import path
from .views import (
EventAttendeeListView,
EventIndexReport,
EventInvoiceView,
EventMonthReport,
EventYearReport,
MemberAutocomplete,
upcoming_events,
)
app_name = "membershipworks"
urlpatterns = [
path(
"member-autocomplete/",
MemberAutocomplete.as_view(),
name="member-autocomplete",
),
path(
"upcoming-events/",
upcoming_events,
name="upcoming-events",
),
path(
"event-report/",
EventIndexReport.as_view(),
name="event-index-report",
),
path(
"event-report/<int:year>/",
EventYearReport.as_view(),
name="event-year-report",
),
path(
"event-report/<int:year>/<int:month>/",
EventMonthReport.as_view(month_format="%m"),
name="event-month-report",
),
path(
"event-invoice/<eid>",
EventInvoiceView.as_view(),
name="event-invoice",
),
path(
"event-attendees",
EventAttendeeListView.as_view(),
name="event-attendees",
),
]