[open-ils-commits] r1312 - in servres/trunk/conifer/syrup: . views (gfawcett)

svn at svn.open-ils.org svn at svn.open-ils.org
Sat Apr 2 21:52:52 EDT 2011


Author: gfawcett
Date: 2011-04-02 21:52:50 -0400 (Sat, 02 Apr 2011)
New Revision: 1312

Modified:
   servres/trunk/conifer/syrup/urls.py
   servres/trunk/conifer/syrup/views/general.py
Log:
cleanup

Modified: servres/trunk/conifer/syrup/urls.py
===================================================================
--- servres/trunk/conifer/syrup/urls.py	2011-04-03 01:52:47 UTC (rev 1311)
+++ servres/trunk/conifer/syrup/urls.py	2011-04-03 01:52:50 UTC (rev 1312)
@@ -21,8 +21,6 @@
     #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'),

Modified: servres/trunk/conifer/syrup/views/general.py
===================================================================
--- servres/trunk/conifer/syrup/views/general.py	2011-04-03 01:52:47 UTC (rev 1311)
+++ servres/trunk/conifer/syrup/views/general.py	2011-04-03 01:52:50 UTC (rev 1312)
@@ -38,11 +38,6 @@
 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')



More information about the open-ils-commits mailing list