Allow up to 5 blog posts on the front page.
We have a lot of blog posts at the moment.
This commit is contained in:
parent
84cb9a2b85
commit
1704584f34
1 changed files with 1 additions and 1 deletions
|
@ -14,7 +14,7 @@ def view(request):
|
|||
|
||||
supporters_count = len(Supporter.objects.all().filter(display_until_date__gte=datetime.now()))
|
||||
press_releases = PressRelease.objects.all().filter(pub_date__lte=datetime.now(), sites=2)[:5]
|
||||
blog = BlogEntry.objects.all().filter(pub_date__lte=datetime.now())[:3]
|
||||
blog = BlogEntry.objects.all().filter(pub_date__lte=datetime.now())[:5]
|
||||
|
||||
c = {
|
||||
'press_releases': press_releases,
|
||||
|
|
Loading…
Reference in a new issue