From 526fbe767130b4dedd75841969808fe750afa22e Mon Sep 17 00:00:00 2001 From: "luxagraf@c63593aa-01b0-44d9-8516-4b9c7e931d7f" Date: Mon, 23 Nov 2009 15:56:35 +0000 Subject: redesign tentatively complete --- apps/blog/signals.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps/blog/signals.py') diff --git a/apps/blog/signals.py b/apps/blog/signals.py index 0f3c9c4..41025f1 100644 --- a/apps/blog/signals.py +++ b/apps/blog/signals.py @@ -8,7 +8,7 @@ from locations.models import Region,Country def update_recent(sender, instance, signal, *args, **kwargs): # Update recent entries static file model = get_model('blog', 'entry') - qs = {'object_list': model.objects.filter(status__exact=1).order_by('-pub_date')[1:6]} + qs = {'object_list': model.objects.filter(status__exact=1).order_by('-pub_date')[1:5]} c = Context(qs) t = render_to_string('includes/recent_entries_template.html',c) fpath = '%s%s' %(settings.PROJ_ROOT,'templates/includes/recent_entries.html') -- cgit v1.2.3-70-g09d2