From e536f2214cc2a0445b10430b92fec8946e3c303f Mon Sep 17 00:00:00 2001 From: Leonardo Cavallucci Date: Mon, 25 Sep 2023 16:51:41 +0200 Subject: [PATCH] Fix meta_settings retrieval from django-meta --- djangocms_blog/settings.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/djangocms_blog/settings.py b/djangocms_blog/settings.py index 40e43b79..fe135dad 100644 --- a/djangocms_blog/settings.py +++ b/djangocms_blog/settings.py @@ -195,7 +195,7 @@ Available values are defined in to ``META_FB_TYPES`` defined in `django-meta settings`_. """ -BLOG_FB_APPID = meta_settings.FB_APPID +BLOG_FB_APPID = meta_settings.get_setting("FB_APPID") """ .. _FB_APPID: @@ -204,7 +204,7 @@ Default from ``FB_APPID`` defined in `django-meta settings`_. """ -BLOG_FB_PROFILE_ID = meta_settings.FB_PROFILE_ID +BLOG_FB_PROFILE_ID = meta_settings.get_setting("FB_PROFILE_ID") """ .. _FB_PROFILE_ID: @@ -213,7 +213,7 @@ Default from ``FB_PROFILE_ID`` defined in `django-meta settings`_. """ -BLOG_FB_PUBLISHER = meta_settings.FB_PUBLISHER +BLOG_FB_PUBLISHER = meta_settings.get_setting("FB_PUBLISHER") """ .. _FB_PUBLISHER: @@ -252,7 +252,7 @@ Default from ``TWITTER_TYPES`` defined in `django-meta settings`_. """ -BLOG_TWITTER_SITE = meta_settings.TWITTER_SITE +BLOG_TWITTER_SITE = meta_settings.get_setting("TWITTER_SITE") """ .. _TWITTER_SITE: