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.2.tar.gz
(11.7 kB
view hashes)
Built Distribution
Close
Hashes for fluentcms_teaser-1.1.2-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 03c8c3678862db359738dbf2882fe1e21912dfaca2b99b91f28d47777d386a6c |
|
MD5 | 735b102bfc23238e998d46452b869ef5 |
|
BLAKE2b-256 | e055f2c428b419107da0f2e7d96ed3721263b02f410c8ebd6fb1107009a5974c |