diff options
Diffstat (limited to 'snakeplan/projects/views/tasks.py')
-rw-r--r-- | snakeplan/projects/views/tasks.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/snakeplan/projects/views/tasks.py b/snakeplan/projects/views/tasks.py index 4857a98..8e74cfa 100644 --- a/snakeplan/projects/views/tasks.py +++ b/snakeplan/projects/views/tasks.py | |||
@@ -1,4 +1,5 @@ | |||
1 | from django.views.generic import list_detail | 1 | from django.views.generic import list_detail |
2 | import snakeplan.projects.models as sp_models | ||
2 | from snakeplan.projects.models import Task | 3 | from snakeplan.projects.models import Task |
3 | 4 | ||
4 | 5 | ||
@@ -7,4 +8,5 @@ def index(request, task_id): | |||
7 | request=request, | 8 | request=request, |
8 | queryset=Task.objects.filter(id=task_id).all(), | 9 | queryset=Task.objects.filter(id=task_id).all(), |
9 | object_id=task_id, | 10 | object_id=task_id, |
11 | extra_context={'dispositions': sp_models.DISPOSITIONS} | ||
10 | ) | 12 | ) |