Define filters variable again
authorDiane Trout <diane@ghic.org>
Thu, 2 Jun 2016 20:45:38 +0000 (13:45 -0700)
committerDiane Trout <diane@ghic.org>
Fri, 24 Jun 2016 22:55:58 +0000 (15:55 -0700)
There's a conditional that still used it, however we still need to
actually implement the todo functionality with newer django.

samples/views.py

index 2080d5bce43a1705761e4badade1829dd4851f4a..3f6ca60764fa072140bf24ea9d0682bac4e12060 100644 (file)
@@ -36,7 +36,7 @@ LOGGER = logging.getLogger(__name__)
 
 
 def library(request, todo_only=False):
-    #filters = {'hidden__exact': 0}
+    filters = {'hidden__exact': 0}
     if todo_only:
         filters['lane'] = None