aboutsummaryrefslogtreecommitdiff
path: root/snakeplan/projects/views/stories.py
diff options
context:
space:
mode:
Diffstat (limited to 'snakeplan/projects/views/stories.py')
-rw-r--r--snakeplan/projects/views/stories.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/snakeplan/projects/views/stories.py b/snakeplan/projects/views/stories.py
index f87bb2b..39bc323 100644
--- a/snakeplan/projects/views/stories.py
+++ b/snakeplan/projects/views/stories.py
@@ -1,10 +1,10 @@
1from django.views.generic import list_detail 1from django.views.generic import list_detail
2from snakeplan.projects.models import Iteration 2from snakeplan.projects.models import Story
3 3
4 4
5def index(request, project_id): 5def index(request, story_id):
6 return list_detail.object_list( 6 return list_detail.object_detail(
7 request=request, 7 request=request,
8 queryset=Iteration.objects.filter(project=project_id).all(), 8 queryset=Story.objects.filter(id=story_id).all(),
9 allow_empty=True 9 object_id=story_id,
10 ) 10 )