aboutsummaryrefslogtreecommitdiffstats
path: root/bn_django
diff options
context:
space:
mode:
Diffstat (limited to 'bn_django')
-rw-r--r--bn_django/urls.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bn_django/urls.py b/bn_django/urls.py
index eaf991e..d9eb6ce 100644
--- a/bn_django/urls.py
+++ b/bn_django/urls.py
@@ -8,7 +8,7 @@ urlpatterns = patterns('',
# (r'^bn_django/', include('bn_django.foo.urls')),
(r'^$', 'django.views.generic.simple.direct_to_template',
{'template': 'frontpage.html','extra_context':dict({ \
- 'latest_photos':Photo.objects.order_by('date')[:2], \
+ 'latest_photos':Photo.objects.order_by('-date')[:2], \
#'latest_comments':Photo.objects.order_by('date')[:4] \
'latest_knowledge':git_wiki.models.shortlog(), \
'latest_comments':Comment.objects.order_by('-submit_date')[:4], \