59 lines
1.3 KiB
Python
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",
|
|
),
|
|
]
|