Package: djangocms-bootstrap5
django CMS Bootstrap 5is a plugin bundle for django CMS providing several
components from the popularBootstrap 5library.This addon is compatible withDivio Cloudand is also available on thedjango CMS Marketplacefor easy installation.ContributingThis is a an open-source project. We’ll be delighted to receive your
feedback in the form of issues and pull requests. Before submitting your
pull request, please review ourcontribution guidelines.We’re grateful to all contributors who have helped create and maintain this package.
Contributors are listed at thecontributorssection.One of the easiest contributions you can make is helping to translate this addon onTransifex.DocumentationSeeREQUIREMENTSin thesetup.pyfile for additional dependencies:Django Filer 1.7 or higherDjango Text CKEditor 3.1 or higherMake suredjango Fileranddjango CMS Text CKEditorare installed and configured appropriately.InstallationFor a manual install:runpip installdjangocms-bootstrap5add the following entries to yourINSTALLED_APPS:'djangocms_icon',
'djangocms_link',
'djangocms_picture',
'djangocms_bootstrap5',
'djangocms_bootstrap5.contrib.bootstrap5_alerts',
'djangocms_bootstrap5.contrib.bootstrap5_badge',
'djangocms_bootstrap5.contrib.bootstrap5_card',
'djangocms_bootstrap5.contrib.bootstrap5_carousel',
'djangocms_bootstrap5.contrib.bootstrap5_collapse',
'djangocms_bootstrap5.contrib.bootstrap5_content',
'djangocms_bootstrap5.contrib.bootstrap5_grid',
'djangocms_bootstrap5.contrib.bootstrap5_jumbotron',
'djangocms_bootstrap5.contrib.bootstrap5_link',
'djangocms_bootstrap5.contrib.bootstrap5_listgroup',
'djangocms_bootstrap5.contrib.bootstrap5_media',
'djangocms_bootstrap5.contrib.bootstrap5_picture',
'djangocms_bootstrap5.contrib.bootstrap5_tabs',
'djangocms_bootstrap5.contrib.bootstrap5_utilities',runpython manage.py migrateConfigurationdjango CMS Bootstrap 5utilisesthe following django CMS plugins:django CMS Link:Linkdjango CMS Picture:Picturedjango CMS Icon:IconIt provides the followingstandardBootstrap 5 components:AlertsBadgeCardCarouselCollapseContent (Blockquote, Code, Figure)Grid (Container, Row, Column)JumbotronLink / ButtonList groupMediaPicture / ImageTabsUtilities (Spacing)django CMS Bootstrap 5does notadd the styles or javascript files to your frontend, these need to be added at your discretion.SettingsThere are various settings possible on django CMS Bootstrap 5, to restrict them
for now only the following can be changed:DJANGOCMS_BOOTSTRAP5_TAG_CHOICES = ['div', 'section', 'article', 'header', 'footer', 'aside']

DJANGOCMS_BOOTSTRAP5_CAROUSEL_TEMPLATES = (
    ('default', _('Default')),
)

DJANGOCMS_BOOTSTRAP5_GRID_SIZE = 12
DJANGOCMS_BOOTSTRAP5_GRID_CONTAINERS = (
    ('container', _('Container')),
    ('container-fluid', _('Fluid container')),
)
DJANGOCMS_BOOTSTRAP5_GRID_COLUMN_CHOICES = (
    ('col', _('Column')),
    ('w-100', _('Break')),
    ('', _('Empty'))
)

DJANGOCMS_BOOTSTRAP5_USE_ICONS = True

DJANGOCMS_BOOTSTRAP5_TAB_TEMPLATES = (
    ('default', _('Default')),
)

DJANGOCMS_BOOTSTRAP5_SPACER_SIZES = (
    ('0', '* 0'),
    ('1', '* .25'),
    ('2', '* .5'),
    ('3', '* 1'),
    ('4', '* 1.5'),
    ('5', '* 3'),
)

DJANGOCMS_BOOTSTRAP5_CAROUSEL_ASPECT_RATIOS = (
    (16, 9),
)

DJANGOCMS_BOOTSTRAP5_COLOR_STYLE_CHOICES = (
    ('primary', _('Primary')),
    ('secondary', _('Secondary')),
    ('success', _('Success')),
    ('danger', _('Danger')),
    ('warning', _('Warning')),
    ('info', _('Info')),
    ('light', _('Light')),
    ('dark', _('Dark')),
    ('custom', _('Custom')),
)Please be aware that this package does not support djangocms-text-ckeditor’sDrag & Drop Imagesso be sure to setTEXT_SAVE_IMAGE_FUNCTION = None.Running TestsYou can run tests by executing:virtualenv env
source env/bin/activate
pip install -r tests/requirements.txt
python setup.py testTo run the frontend make sure to usenode 10.x.