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.py11
1 files changed, 8 insertions, 3 deletions
diff --git a/snakeplan/projects/views/stories.py b/snakeplan/projects/views/stories.py
index ce59b1e..f87bb2b 100644
--- a/snakeplan/projects/views/stories.py
+++ b/snakeplan/projects/views/stories.py
@@ -1,5 +1,10 @@
1from django.http import HttpResponse 1from django.views.generic import list_detail
2from snakeplan.projects.models import Iteration
2 3
3 4
4def index(request): 5def index(request, project_id):
5 return HttpResponse('Index') 6 return list_detail.object_list(
7 request=request,
8 queryset=Iteration.objects.filter(project=project_id).all(),
9 allow_empty=True
10 )