New design and renaming for the blog which now named chat
This commit is contained in:
@@ -446,7 +446,7 @@ def matchday(request, ls, season, matchday, template_name='md.html'):
|
||||
pm = RelPostMandant.objects.filter(mandant__in=mandants). \
|
||||
values_list('post', flat=True)
|
||||
posts = []
|
||||
for post in Post.objects.filter(id__in=pm, published=True)[:1]:
|
||||
for post in Post.objects.filter(id__in=pm, published=True)[:5]:
|
||||
try:
|
||||
avatar = UserProfile.objects.get(user_id=post.author_id). \
|
||||
avatar.name
|
||||
|
||||
Reference in New Issue
Block a user