#MARK: propose we kill instructors, we have browse
(r'^instructors/$', 'instructors'),
(r'^instructors/search/(?P<instructor>.*)$', 'instructor_search'),
- #MARK: propose we kill departments, we have browse
- (r'^departments/$', 'departments'),
(r'^site/(?P<site_id>\d+)/$', 'site_detail'),
(r'^instructor/(?P<instructor_id>.*)/$', 'instructor_detail'),
(r'^department/(?P<department_id>.*)/$', 'department_detail'),
def instructor_search(request, instructor):
return search(request, with_instructor=instructor)
-# MARK: propose we get rid of this. We have browse.
-def departments(request):
- raise NotImplementedError
-
-
def user_prefs(request):
if request.method != 'POST':
return g.render('prefs.xhtml')