public
Description: A full featured and opinionated blogging solution using Django
Homepage: http://lethain.com/projects/lifeflow/
Clone URL: git://github.com/lethain/lifeflow.git
Updated flows now to display content that has not yet reached publishing date.
lethain (author)
Thu Aug 28 18:26:43 -0700 2008
commit  02e83e0612ab1ab57ba0335446b6de44e3955f9f
tree    a3424a3eb31b367de38cd546c24711121da42f10
parent  9c56e23f99d13d960c1ffe1d00fffcb7eb33d740
...
107
108
109
110
 
111
112
113
...
107
108
109
 
110
111
112
113
0
@@ -107,7 +107,7 @@ def flow(request, slug):
0
         page = int(request.GET["page"])
0
     except:
0
         page = 1
0
-    page = QuerySetPaginator(Flow.objects.get(slug=slug).entry_set.all(), 5).page(page)
0
+    page = QuerySetPaginator(Flow.objects.get(slug=slug).latest(), 5).page(page)
0
     return render_to_response('lifeflow/flow_detail.html', 
0
                               {'object' : flow, 'page' : page,},
0
                               RequestContext(request, {}))

Comments