aboutsummaryrefslogtreecommitdiff
path: root/snakeplan/projects/views/stories.py
diff options
context:
space:
mode:
authorMike Crute <mcrute@gmail.com>2010-02-20 13:54:58 -0500
committerMike Crute <mcrute@gmail.com>2010-02-20 13:54:58 -0500
commitdda940563123325ff2bf949cfa2bf7bcc8f02091 (patch)
tree652590ac6714385f665bb9036fa5d6094f94f5d3 /snakeplan/projects/views/stories.py
parent53fde96309d05f7f0474903e9b67682720bdb3b4 (diff)
downloadsnakeplan-dda940563123325ff2bf949cfa2bf7bcc8f02091.tar.bz2
snakeplan-dda940563123325ff2bf949cfa2bf7bcc8f02091.tar.xz
snakeplan-dda940563123325ff2bf949cfa2bf7bcc8f02091.zip
Adding story view
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 )