2022-05-05 17:21:48 -04:00
|
|
|
from django.urls import path
|
|
|
|
|
2024-02-16 11:37:30 -05:00
|
|
|
from . import views
|
2022-05-05 17:21:48 -04:00
|
|
|
|
|
|
|
app_name = "membershipworks"
|
|
|
|
|
|
|
|
urlpatterns = [
|
|
|
|
path(
|
|
|
|
"member-autocomplete/",
|
2024-02-16 11:37:30 -05:00
|
|
|
views.MemberAutocomplete.as_view(),
|
2022-05-05 17:21:48 -04:00
|
|
|
name="member-autocomplete",
|
|
|
|
),
|
2023-12-22 01:08:20 -05:00
|
|
|
path(
|
|
|
|
"upcoming-events/",
|
2024-02-16 11:37:30 -05:00
|
|
|
views.upcoming_events,
|
2023-12-22 01:08:20 -05:00
|
|
|
name="upcoming-events",
|
|
|
|
),
|
2024-01-19 15:33:54 -05:00
|
|
|
path(
|
|
|
|
"event-report/",
|
2024-02-16 11:37:30 -05:00
|
|
|
views.EventIndexReport.as_view(),
|
2024-01-19 15:33:54 -05:00
|
|
|
name="event-index-report",
|
|
|
|
),
|
|
|
|
path(
|
|
|
|
"event-report/<int:year>/",
|
2024-02-16 11:37:30 -05:00
|
|
|
views.EventYearReport.as_view(),
|
2024-01-19 15:33:54 -05:00
|
|
|
name="event-year-report",
|
|
|
|
),
|
2024-01-15 21:31:06 -05:00
|
|
|
path(
|
|
|
|
"event-report/<int:year>/<int:month>/",
|
2024-02-16 11:37:30 -05:00
|
|
|
views.EventMonthReport.as_view(month_format="%m"),
|
2024-01-17 11:15:57 -05:00
|
|
|
name="event-month-report",
|
2024-01-15 21:31:06 -05:00
|
|
|
),
|
2024-01-31 20:18:46 -05:00
|
|
|
path(
|
2024-04-14 01:21:32 -04:00
|
|
|
"my-events/",
|
|
|
|
views.UserEventView.as_view(),
|
|
|
|
name="user-events",
|
|
|
|
),
|
2024-04-27 10:53:37 -04:00
|
|
|
path(
|
|
|
|
"event/<eid>_preview.pdf",
|
|
|
|
views.EventInvoicePDFPreviewView.as_view(),
|
|
|
|
name="event-invoice-pdf-preview",
|
|
|
|
),
|
2024-04-14 01:21:32 -04:00
|
|
|
path(
|
|
|
|
"event/<eid>",
|
|
|
|
views.EventDetailView.as_view(),
|
|
|
|
name="event-detail",
|
|
|
|
),
|
|
|
|
path(
|
|
|
|
"event/invoice/<uuid:uuid>.pdf",
|
|
|
|
views.EventInvoicePDFView.as_view(),
|
|
|
|
name="event-invoice-pdf",
|
2024-01-31 20:18:46 -05:00
|
|
|
),
|
2024-02-02 19:26:06 -05:00
|
|
|
path(
|
|
|
|
"event-attendees",
|
2024-02-16 11:37:30 -05:00
|
|
|
views.EventAttendeeListView.as_view(),
|
2024-02-02 19:26:06 -05:00
|
|
|
name="event-attendees",
|
|
|
|
),
|
2024-02-16 11:37:30 -05:00
|
|
|
path(
|
|
|
|
"missing-paperwork",
|
|
|
|
views.MissingPaperworkReport.as_view(),
|
|
|
|
name="missing-paperwork-report",
|
|
|
|
),
|
2022-05-05 17:21:48 -04:00
|
|
|
]
|