nephila / djangocms-blog

django CMS blog application - Support for multilingual posts, placeholders, social network meta tags and configurable apphooks
https://djangocms-blog.readthedocs.io
BSD 3-Clause "New" or "Revised" License
391 stars 192 forks source link

AttributeError: module 'meta.settings' has no attribute 'FB_APPID' #761

Closed dxrvip closed 9 months ago

dxrvip commented 9 months ago

File "/usr/local/lib/python3.9/site-packages/djangocms_blog/models.py", line 29, in from .cms_appconfig import BlogConfig File "/usr/local/lib/python3.9/site-packages/djangocms_blog/cms_appconfig.py", line 10, in from .settings import MENU_TYPE_COMPLETE, get_setting File "/usr/local/lib/python3.9/site-packages/djangocms_blog/settings.py", line 198, in BLOG_FB_APPID = meta_settings.FB_APPID

dxrvip commented 9 months ago

META_SITE_PROTOCOL = 'http' # set 'http' for non ssl enabled websites META_USE_SITES = False FB_APPID=2

Database

kapt commented 9 months ago

It follows this commit of django_meta and version 2.4

asad2200 commented 9 months ago

Add django-meta==2.3.0 in the requirement file it will work.

protoroto commented 9 months ago

I think it's better if we enforce django-meta>=2.3.0 in setup.cfg . Will open a pr shortly

protoroto commented 9 months ago

@asad2200 @kapt @dxrvip We've just released 2.0.4 version with a bugfix for this: could you please try and report if everything works as expected now?