Permalink
Browse files

Commit unused task list view and url

  • Loading branch information...
niwinz committed Jun 24, 2012
1 parent d20fb7f commit f17748492a75fc2160b74eab072dea393a11e98b
Showing with 9 additions and 9 deletions.
  1. +1 −1 src/greenmine/urls.py
  2. +8 −8 src/greenmine/views/tasks.py
View
@@ -95,7 +95,7 @@
)
tasks_patterns = patterns('',
- url(r'^$', tasks.TaskList.as_view(), name='tasks-list'),
+ #url(r'^$', tasks.TaskList.as_view(), name='tasks-list'),
url(r'^create/$', tasks.CreateTask.as_view(), name='tasks-create'),
url(r'^(?P<tref>[\w\d]+)/view/$', tasks.TaskView.as_view(), name='tasks-view'),
url(r'^(?P<tref>[\w\d]+)/delete/$', tasks.TaskDelete.as_view(), name='tasks-delete'),
@@ -21,14 +21,14 @@
from .issues import IssueList
-class TaskList(IssueList):
- template_name = 'tasks.html'
- menu = ['tasks']
-
- def get_query_set(self, milestone):
- user_stories = milestone.user_stories.all()
- return milestone.tasks.filter(type="task")
-
+#class TaskList(IssueList):
+# template_name = 'tasks.html'
+# menu = ['tasks']
+#
+# def get_query_set(self, milestone):
+# user_stories = milestone.user_stories.all()
+# return milestone.tasks.filter(type="task")
+#
class CreateTask(GenericView):
template_name = "tasks-create.html"

0 comments on commit f177484

Please sign in to comment.