diff options
Diffstat (limited to 'snakeplan/projects/views/stories.py')
-rw-r--r-- | snakeplan/projects/views/stories.py | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/snakeplan/projects/views/stories.py b/snakeplan/projects/views/stories.py deleted file mode 100644 index 93d926f..0000000 --- a/snakeplan/projects/views/stories.py +++ /dev/null | |||
@@ -1,14 +0,0 @@ | |||
1 | from django.views.generic import list_detail | ||
2 | from projects.models import Story | ||
3 | from projects.models import Task | ||
4 | |||
5 | |||
6 | def index(request, story_id): | ||
7 | tasks = Task.objects.filter(story=story_id).all() | ||
8 | |||
9 | return list_detail.object_detail( | ||
10 | request=request, | ||
11 | queryset=Story.objects.filter(id=story_id).all(), | ||
12 | object_id=story_id, | ||
13 | extra_context={'tasks': tasks}, | ||
14 | ) | ||