summaryrefslogtreecommitdiff
path: root/todolists
diff options
context:
space:
mode:
Diffstat (limited to 'todolists')
-rw-r--r--todolists/views.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/todolists/views.py b/todolists/views.py
index cdf503ad..a663ad24 100644
--- a/todolists/views.py
+++ b/todolists/views.py
@@ -46,12 +46,14 @@ def flag(request, listid, pkgid):
return HttpResponseRedirect('/todo/%s/' % (listid))
@login_required
+@never_cache
def view(request, listid):
list = get_object_or_404(Todolist, id=listid)
return render_to_response('todolists/view.html',
RequestContext(request, {'list':list}))
@login_required
+@never_cache
def list(request):
lists = Todolist.objects.select_related('creator').order_by('-date_added')
for l in lists: