-
Notifications
You must be signed in to change notification settings - Fork 19
/
urls.py
21 lines (19 loc) · 905 Bytes
/
urls.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
from django.urls import path
from django.views.generic.base import TemplateView
from . import staff_views, views
urlpatterns = [
path("politburo/", views.politburo, name="politburo"),
path("politburo/<semester_id>", views.politburo, name="politburo_semester"),
path("officers/", views.officers, name="officers"),
path("add-officer/", staff_views.update_or_create_officer, name="add-officer"),
path("time-machine/", staff_views.update_semester, name="update_semester"),
path("officers/<semester_id>/", views.officers, name="officers_semester"),
path("sponsors/", views.sponsors, name="sponsors"),
path("events/", TemplateView.as_view(template_name="events.html"), name="events"),
path(
"events/workshops/",
TemplateView.as_view(template_name="workshops.html"),
name="workshops",
),
path("tutoring/", views.tutoring, name="tutoring"),
]