Skip to content

Commit

Permalink
Fix meta_settings retrieval from django-meta
Browse files Browse the repository at this point in the history
  • Loading branch information
protoroto committed Sep 25, 2023
1 parent b12ef8b commit e536f22
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions djangocms_blog/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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:
Expand All @@ -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:
Expand Down Expand Up @@ -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:
Expand Down

0 comments on commit e536f22

Please sign in to comment.