2022-05-05 17:21:48 -04:00
|
|
|
from django.urls import path
|
|
|
|
|
2024-01-17 11:15:57 -05:00
|
|
|
from .views import MemberAutocomplete, upcoming_events, EventMonthReport
|
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-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
|
|
|
),
|
2022-05-05 17:21:48 -04:00
|
|
|
]
|