aboutsummaryrefslogtreecommitdiffstats
path: root/bn_django
diff options
context:
space:
mode:
Diffstat (limited to 'bn_django')
-rw-r--r--bn_django/urls.py.example1
1 files changed, 1 insertions, 0 deletions
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], \