aboutsummaryrefslogtreecommitdiff
path: root/snakeplan/projects/views/tasks.py
diff options
context:
space:
mode:
Diffstat (limited to 'snakeplan/projects/views/tasks.py')
-rw-r--r--snakeplan/projects/views/tasks.py12
1 files changed, 0 insertions, 12 deletions
diff --git a/snakeplan/projects/views/tasks.py b/snakeplan/projects/views/tasks.py
deleted file mode 100644
index 4719da2..0000000
--- a/snakeplan/projects/views/tasks.py
+++ /dev/null
@@ -1,12 +0,0 @@
1from django.views.generic import list_detail
2import projects.models as sp_models
3from projects.models import Task
4
5
6def index(request, task_id):
7 return list_detail.object_detail(
8 request=request,
9 queryset=Task.objects.filter(id=task_id).all(),
10 object_id=task_id,
11 extra_context={'dispositions': sp_models.DISPOSITIONS}
12 )