24 lines
530 B
Python
24 lines
530 B
Python
from django.urls import path
|
|
|
|
from .views import EventMonthReport, MemberAutocomplete, upcoming_events
|
|
|
|
app_name = "membershipworks"
|
|
|
|
urlpatterns = [
|
|
path(
|
|
"member-autocomplete/",
|
|
MemberAutocomplete.as_view(),
|
|
name="member-autocomplete",
|
|
),
|
|
path(
|
|
"upcoming-events/",
|
|
upcoming_events,
|
|
name="upcoming-events",
|
|
),
|
|
path(
|
|
"event-report/<int:year>/<int:month>/",
|
|
EventMonthReport.as_view(month_format="%m"),
|
|
name="event-month-report",
|
|
),
|
|
]
|