AttributeError: 'NoneType' object has no attribute 'blogTitle'
try:
with transaction.manager:
blog = api.getBlogByDateAndTitle(dateYm, title)
title = blog.blogTitle
# print blog.blogType
if blog.blogType == '0':
title = _(u'【TOP33】') + title
else:
title = _(u'【教学】') + title
/opt/mscnsite_py36/lib/python3.6/site-packages/mscnsite/views/blog.py, line 53: