Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
dxrvip opened this issue Sep 25, 2023 · 5 comments · Fixed by #762
Closed

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

dxrvip opened this issue Sep 25, 2023 · 5 comments · Fixed by #762

Comments

@dxrvip
Copy link

dxrvip commented Sep 25, 2023

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
Copy link
Author

dxrvip commented Sep 25, 2023

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

Database

@kapt
Copy link

kapt commented Sep 25, 2023

It follows this commit of django_meta and version 2.4

@asad2200
Copy link

asad2200 commented Sep 25, 2023

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

@protoroto
Copy link
Member

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

@protoroto
Copy link
Member

protoroto commented Sep 25, 2023

@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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants