You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If first BLOG_PLUGIN_TEMPLATE_FOLDERS item is not plugins, a new migration is triggered due to hardcoded value in migrations
## Steps to reproduce
Steps
Customize BLOG_PLUGIN_TEMPLATE_FOLDERS by setting to
BLOG_PLUGIN_TEMPLATE_FOLDERS= (
('timeline', ('Vertical timeline')), # reads from templates/djangocms_blog/vertical/
('masonry', ('Masonry style')), # reads from templates/djangocms_blog/masonry/
)
Run ./manage.py makemigrations djangocms_blog
Versions
Any
Expected behaviour
No new migration is created
Actual behaviour
Migration created with:
Migrations for 'djangocms_blog':
djangocms_blog/migrations/0040_auto_20200624_0649.py
- Alter field template_folder on authorentriesplugin
- Alter field template_folder on genericblogplugin
- Alter field template_folder on latestpostsplugin
The text was updated successfully, but these errors were encountered:
Description
If first
BLOG_PLUGIN_TEMPLATE_FOLDERS
item is notplugins
, a new migration is triggered due to hardcoded value in migrations## Steps to reproduce
Steps
Customize
BLOG_PLUGIN_TEMPLATE_FOLDERS
by setting toRun
./manage.py makemigrations djangocms_blog
Versions
Any
Expected behaviour
No new migration is created
Actual behaviour
Migration created with:
The text was updated successfully, but these errors were encountered: