aboutsummaryrefslogtreecommitdiffstats
path: root/bn_django/urls.py.example
diff options
context:
space:
mode:
authorbnewbold <bnewbold@ziggy.(none)>2009-12-02 23:05:00 -0500
committerbnewbold <bnewbold@ziggy.(none)>2009-12-02 23:05:00 -0500
commitcfc51b7b1cc7187f78f36a0bc02f09df4b8855d2 (patch)
tree849bb3115f1dc013416f9c806c4a1880a8658f9f /bn_django/urls.py.example
parentb0cb339af28882d78cdfa77085111731f64fc255 (diff)
downloadbnewnet-cfc51b7b1cc7187f78f36a0bc02f09df4b8855d2.tar.gz
bnewnet-cfc51b7b1cc7187f78f36a0bc02f09df4b8855d2.zip
right urls file
Diffstat (limited to 'bn_django/urls.py.example')
-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], \