Skip to content

Commit bd43f24

Browse files
Merge pull request #151 from springload/fix/people-categories
Remove old people-category views from URLs
2 parents 45ea5d4 + da6c626 commit bd43f24

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

cdhweb/people/urls.py

-9
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,9 @@
11
from django.urls import path
2-
from django.views.generic.base import RedirectView
32

43
from cdhweb.people import views
54

65
app_name = "people"
76
urlpatterns = [
8-
path("staff/", views.StaffListView.as_view(), name="staff"),
9-
path("students/", views.StudentListView.as_view(), name="students"),
10-
path("affiliates/", views.AffiliateListView.as_view(), name="affiliates"),
11-
path("executive-committee/", views.ExecListView.as_view(), name="exec-committee"),
127
# speakers list was deleted; serve 410 gone
138
path("speakers/", views.speakerlist_gone),
14-
# redirect from /people/faculty -> /people/affiliates
15-
path("faculty/", RedirectView.as_view(url="/people/affiliates/", permanent=True)),
16-
# redirect from /people/postdocs -> /people/staff
17-
path("postdocs/", RedirectView.as_view(url="/people/staff/", permanent=True)),
189
]

0 commit comments

Comments
 (0)