49 lines
1.1 KiB
Python
49 lines
1.1 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(
|
|
"event-invoice/<eid>",
|
|
views.EventInvoiceView.as_view(),
|
|
name="event-invoice",
|
|
),
|
|
path(
|
|
"event-attendees",
|
|
views.EventAttendeeListView.as_view(),
|
|
name="event-attendees",
|
|
),
|
|
path(
|
|
"missing-paperwork",
|
|
views.MissingPaperworkReport.as_view(),
|
|
name="missing-paperwork-report",
|
|
),
|
|
]
|