From cfc51b7b1cc7187f78f36a0bc02f09df4b8855d2 Mon Sep 17 00:00:00 2001 From: bnewbold Date: Wed, 2 Dec 2009 23:05:00 -0500 Subject: right urls file --- bn_django/urls.py.example | 1 + 1 file changed, 1 insertion(+) (limited to 'bn_django/urls.py.example') diff --git a/bn_django/urls.py.example b/bn_django/urls.py.example index dbb5f6f..775b8d4 100644 --- a/bn_django/urls.py.example +++ b/bn_django/urls.py.example @@ -13,6 +13,7 @@ urlpatterns = patterns('', (r'^$', 'django.views.generic.simple.direct_to_template', {'template': 'frontpage.html','extra_context':dict({ \ 'latest_photos':Photo.objects.order_by('-date')[:2], \ + 'latest_galleries':Gallery.objects.order_by('-date')[:4], \ #'latest_comments':Photo.objects.order_by('date')[:4] \ 'latest_knowledge':git_wiki.models.shortlog(), \ 'latest_comments':Comment.objects.order_by('-submit_date')[:8], \ -- cgit v1.2.3