refonte : theme->topic et home.pt

This commit is contained in:
2021-09-11 09:40:52 +02:00
parent d24becec1c
commit e8542c9b66
11 changed files with 100 additions and 76 deletions

View File

@@ -20,7 +20,7 @@ from ..models.members import (
get_member_by_email
)
from ..models.contents import (
get_docs_bytheme
get_docs_bytopic
)
# import datetime
@@ -72,7 +72,7 @@ def home(request):
id_photo = member.photo_instagram
# lire toutes les docs
items = get_docs_bytheme(request, 'BLOG', logged_in)
items = get_docs_bytopic(request, 'BLOG', logged_in)
return {
'page_title': "Méditer, cest ouvrir la cage",