Skip to content

Commit

Permalink
Bump django-meta version in setup.cfg (nephila#762)
Browse files Browse the repository at this point in the history
* Bump django-meta version in setup.cfg

* Fix meta_settings retrieval from django-meta
  • Loading branch information
protoroto authored Sep 25, 2023
1 parent 9b47f9a commit f382ba3
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
1 change: 1 addition & 0 deletions changes/761.bugfix
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Bump django-meta version in setup.cfg
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
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ install_requires =
django-taggit-autosuggest
djangocms-text-ckeditor>=3.9
easy-thumbnails>=2.4.1
django-meta>=2.0
django-meta>=2.3
aldryn-apphooks-config>=0.5
djangocms-apphook-setup
django-sortedm2m
Expand Down

0 comments on commit f382ba3

Please sign in to comment.