3c20caba5321

Adjusted the blogs orphan value.
[view raw] [browse files]
author Steve Losh <steve@stevelosh.com>
date Thu, 12 Feb 2009 14:14:13 -0500
parents a4cf6f60dd02
children 315df6ca542d
branches/tags (none)
files blog/views.py

Changes

--- a/blog/views.py	Thu Feb 12 14:13:06 2009 -0500
+++ b/blog/views.py	Thu Feb 12 14:14:13 2009 -0500
@@ -25,7 +25,7 @@
     page = int(page)
     
     entries = Entry.objects.all().filter(published=True).order_by('-pub_date')
-    p = Paginator(entries, 7, orphans=4).page(page)
+    p = Paginator(entries, 7, orphans=3).page(page)
     
     return render_to_response('blog/list.html', 
         { 'entries': p.object_list,