A teaser plugin for django-fluent-pages
Project description
Installation
First install the module, preferably in a virtual environment. It can be installed from PyPI:
pip install fluentcms-teaser
Backend Configuration
First make sure the project is configured for django-fluent-contents.
Then add the following settings:
INSTALLED_APPS += (
'fluentcms_teaser',
)
# The upload folder for teasers
# Default: '.'
FLUENTCMS_TEASER_UPLOAD_TO = 'teasers/'
The database tables can be created afterwards:
python ./manage.py migrate
Now, the TeaserPlugin can be added to your PlaceholderField and PlaceholderEditorAdmin admin screens.
Frontend Configuration
If needed, the HTML code can be overwritten by redefining fluentcms_teaser/teaser.html.
Contributing
If you like this module, forked it, or would like to improve it, please let us know! Pull requests are welcome too. :-)
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
fluentcms-teaser-1.1.0.tar.gz
(11.7 kB
view hashes)
Built Distribution
Close
Hashes for fluentcms_teaser-1.1.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2a37c9fb2fa4129ceb3d5137e30efb237124181c260884deaf78f93192694cba |
|
MD5 | 06d8634174a5ed1e08e0d69e1cf48783 |
|
BLAKE2b-256 | 95985717c2cfe4df3ba7d69922b7172a9410c571ea97ec7dfbf229390bc5d257 |