diff options
author | Bryan Newbold <bnewbold@animus.robocracy.org> | 2007-03-26 23:00:43 -0700 |
---|---|---|
committer | Bryan Newbold <bnewbold@animus.robocracy.org> | 2007-03-26 23:00:43 -0700 |
commit | 2fa8564ea60ffbd9c724a6e2724b0b31acd60926 (patch) | |
tree | 7e1fa0f9d0a5319cd0d75f145b580bf060e15c02 | |
parent | 310013244f1d7e435b67aa52f0c46cbee8124ca9 (diff) | |
parent | 1c0a3bbb080e85c60aedef414794f8e4db572976 (diff) | |
download | bnewnet-2fa8564ea60ffbd9c724a6e2724b0b31acd60926.tar.gz bnewnet-2fa8564ea60ffbd9c724a6e2724b0b31acd60926.zip |
Merge branch 'master' of /srv/git/bn-project
-rw-r--r-- | bn_django/urls.py | 2 |
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], \ |