2022-05-05 17:21:48 -04:00
|
|
|
from django.urls import path
|
|
|
|
|
2024-01-19 15:33:54 -05:00
|
|
|
from .views import (
|
|
|
|
EventIndexReport,
|
2024-01-31 20:18:46 -05:00
|
|
|
EventInvoiceView,
|
2024-01-19 15:33:54 -05:00
|
|
|
EventMonthReport,
|
|
|
|
EventYearReport,
|
|
|
|
MemberAutocomplete,
|
|
|
|
upcoming_events,
|
|
|
|
)
|
2022-05-05 17:21:48 -04:00
|
|
|
|
|
|
|
app_name = "membershipworks"
|
|
|
|
|
|
|
|
urlpatterns = [
|
|
|
|
path(
|
|
|
|
"member-autocomplete/",
|
|
|
|
MemberAutocomplete.as_view(),
|
|
|
|
name="member-autocomplete",
|
|
|
|
),
|
2023-12-22 01:08:20 -05:00
|
|
|
path(
|
|
|
|
"upcoming-events/",
|
|
|
|
upcoming_events,
|
|
|
|
name="upcoming-events",
|
|
|
|
),
|
2024-01-19 15:33:54 -05:00
|
|
|
path(
|
|
|
|
"event-report/",
|
|
|
|
EventIndexReport.as_view(),
|
|
|
|
name="event-index-report",
|
|
|
|
),
|
|
|
|
path(
|
|
|
|
"event-report/<int:year>/",
|
|
|
|
EventYearReport.as_view(),
|
|
|
|
name="event-year-report",
|
|
|
|
),
|
2024-01-15 21:31:06 -05:00
|
|
|
path(
|
|
|
|
"event-report/<int:year>/<int:month>/",
|
2024-01-17 11:15:57 -05:00
|
|
|
EventMonthReport.as_view(month_format="%m"),
|
|
|
|
name="event-month-report",
|
2024-01-15 21:31:06 -05:00
|
|
|
),
|
2024-01-31 20:18:46 -05:00
|
|
|
path(
|
|
|
|
"event-invoice/<eid>",
|
|
|
|
EventInvoiceView.as_view(),
|
|
|
|
name="event-invoice",
|
|
|
|
),
|
2022-05-05 17:21:48 -04:00
|
|
|
]
|