Skip to main content

Adds abstract User Interface items as plugins.

Project description

pypi Documentation Status coverage python django djangocms

django CMS Frontend is a plugin bundle which builds on from & improves the architecture of djangocms-bootstrap4. Its objective is to provide a set of popular frontend components independent of the currently used frontend framework such as Bootstrap, or its specific version.

preview.png

Key features

  • Support of Bootstrap 5.

  • Separation of plugins from css framework, i.e. no need to rebuild you site’s plugin tree if css framework is changed in the future, e.g. from Bootstrap 5 to a future version.

  • New link plugin allowing to link to internal pages provided by other applications, such as djangocms-blog.

  • Nice and well-arranged admin frontend of djangocms-bootstrap4

  • A management command to migrate from djangocms-bootstrap4. This command automatically migrates all djangocms-bootstrap4 plugins to djangocms-frontend.

  • Extensible within the project and with separate project (e.g. a theme app)

  • Accordion plugin

  • Forms plugin for Bootstrap-styled forms on your cms page. Use django-cms’ versatile plugin system to generate your own forms.

Description

The plugins are framework agnostic and the framework can be changed by adapting your project’s settings. Also, it is designed to avoid having to rebuild your CMS plugin tree when upgrading e.g. from one version of your frontend framework to the next.

django CMS Frontend uses django-entangled by Jacob Rief to avoid bloating your project’s database with css framework-dependent tables. Instead all design parameters are stored in a common JSON field and future releases of improved frontend features will not require to rebuild your full plugin tree.

The link plugin has been rewritten to not only allow internal links to other CMS pages, but also to other django models such as, e.g., posts of djangocms-blog.

Feedback

This project is in a early stage. All feedback is welcome! Please mail me at fsbraun(at)gmx.de

Also, all contributions are welcome.

Contributing

This 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 our contribution guidelines.

We’re grateful to all contributors who have helped create and maintain this package. Contributors are listed at the contributors section.

One of the easiest contributions you can make is helping to translate this addon on Transifex.

Requirements

See REQUIREMENTS in the setup.py file for additional dependencies:

  • django-cms, version 3.7 or later

  • django-filer, version 1.7 or later

  • djangocms-attributes-field, version 1.0 or later

  • djangocms-text-ckeditor, version 3.1 or later

  • djangocms-icon, version 1.4 or later

  • django-select2

  • django-entangled

Make sure django Filer and django CMS Text CKEditor are installed and configured appropriately.

Installation

For a manual install:

  • run pip install https://github.com/django-cms/djangocms-frontend/archive/master.zip

  • add the following entries to your INSTALLED_APPS:

    'djangocms_icon',
    'easy_thumbnails',
    'djangocms_frontend',
    'djangocms_frontend.contrib.accordion',
    'djangocms_frontend.contrib.alert',
    'djangocms_frontend.contrib.badge',
    'djangocms_frontend.contrib.card',
    'djangocms_frontend.contrib.carousel',
    'djangocms_frontend.contrib.collapse',
    'djangocms_frontend.contrib.content',
    'djangocms_frontend.contrib.frontend_forms',
    'djangocms_frontend.contrib.grid',
    'djangocms_frontend.contrib.image',
    'djangocms_frontend.contrib.jumbotron',
    'djangocms_frontend.contrib.link',
    'djangocms_frontend.contrib.listgroup',
    'djangocms_frontend.contrib.media',
    'djangocms_frontend.contrib.tabs',
    'djangocms_frontend.contrib.utilities',
  • run python manage.py migrate

If you use Django < 3.2 please also add django-jsonfield-backport to your requirements.txt and django_jsonfield_backport to your INSTALLED_APPS list.

To use the forms app djangocms_frontend.contrib.frontend_forms you will have to have jQuery installed in your project. djangocms_frontend does not include jQuery.

Documentation

See readthedocs for the documentation.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

djangocms-frontend-0.9.2.tar.gz (230.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

djangocms_frontend-0.9.2-py3-none-any.whl (335.3 kB view details)

Uploaded Python 3

File details

Details for the file djangocms-frontend-0.9.2.tar.gz.

File metadata

  • Download URL: djangocms-frontend-0.9.2.tar.gz
  • Upload date:
  • Size: 230.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.10.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.12

File hashes

Hashes for djangocms-frontend-0.9.2.tar.gz
Algorithm Hash digest
SHA256 d9892dd2c70e0637c0cec5b2c473ff52c7d36e386353732cd39c6c92e3a9220a
MD5 db54d9e9feb9ceccb77f064babfa5eb0
BLAKE2b-256 36b69f60fb8391fa9bd6af42673bd56b8eeb2193dc55b442d813d40ade824abe

See more details on using hashes here.

File details

Details for the file djangocms_frontend-0.9.2-py3-none-any.whl.

File metadata

  • Download URL: djangocms_frontend-0.9.2-py3-none-any.whl
  • Upload date:
  • Size: 335.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.10.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.12

File hashes

Hashes for djangocms_frontend-0.9.2-py3-none-any.whl
Algorithm Hash digest
SHA256 747b021cbc6bd94d366015cfe44becee7f73ed586d806e283aa916cf2c6fc295
MD5 385d63b0c1d40cb32bf78b478f1c3eb5
BLAKE2b-256 15f3d2d6dbb23aa86f7ac4bcafb5fd1c94208e9dce73851f78d67ab217542e4e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page