[Oi-commits] r1367 - trunk/forum
oi-commits at pardus.org.tr
oi-commits at pardus.org.tr
Thu May 8 08:35:33 EEST 2008
Author: jnmbk
Date: Thu May 8 08:35:33 2008
New Revision: 1367
Modified:
trunk/forum/views.py
Log:
order by created
Modified: trunk/forum/views.py
=================================================================
--- trunk/forum/views.py (original)
+++ trunk/forum/views.py Thu May 8 08:35:33 2008
@@ -85,7 +85,7 @@
allow_empty = True)
def latest_posts(request):
- posts = Post.objects.filter(hidden=0).order_by('-edited')[:100]
+ posts = Post.objects.filter(hidden=0).order_by('-created')[:100]
return object_list(request, posts,
template_name = 'forum/post_list.html',
template_object_name = 'post',
More information about the Oi-commits
mailing list