Hopefully undid accidental changes to views.py and urls.py
authorLorian Schaeffer <lorian@caltech.edu>
Fri, 21 Mar 2008 21:04:41 +0000 (21:04 +0000)
committerLorian Schaeffer <lorian@caltech.edu>
Fri, 21 Mar 2008 21:04:41 +0000 (21:04 +0000)
gaworkflow/frontend/fctracker/views.py
gaworkflow/frontend/urls.py

index c50a0be1fca14e2efe39cad61db626a44091595d..2299e4f9e2203cbc3052d0ad85d4fbfeeceded84 100644 (file)
@@ -1,13 +1 @@
-# Create your views here.
-from django.http import HttpResponse
-from django.shortcuts import get_list_or_404
-from gaworkflow.frontend.fctracker.models import Library, Person
-
-def labindex(request):
-       return HttpResponse("Testing this page")
-
-def labdetail(request, lab_name):
-       members = get_list_or_404(Person, lab=lab_name)
-       lab_libraries = Library.objects.filter(made_for__in=members)
-       output = ', '.join([q.library_name for q in lab_libraries])
-       return HttpResponse(output)
+# Create your views here.
\ No newline at end of file
index da3c44f05d047911054951c4a5540f6178df53e5..0c6701524a390c6aaa98f4dd1bed848f40f372fe 100644 (file)
@@ -13,8 +13,4 @@ urlpatterns = patterns('',
      (r'^admin/', include('django.contrib.admin.urls')),
     # Databrowser:
      (r'^databrowse/(.*)', databrowse.site.root),
-    # List of labs with read-only access:
-     (r'^lab/$', 'gaworkflow.frontend.fctracker.views.labindex'),
-    # Lab-specific access:
-     (r'^lab/(\w+)/$', 'gaworkflow.frontend.fctracker.views.labdetail'),
 )