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. :-)
Metadata
Release files for fluentcms-teaser 2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| fluentcms-teaser-2.0.tar.gz | 12.6 kB | Without provenance | Details for fluentcms-teaser-2.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| fluentcms_teaser-2.0-py3-none-any.whl | Python 3 | none | any | Details for fluentcms_teaser-2.0-py3-none-any.whl |
Total release size: 27.7 kB
Security for fluentcms-teaser 2.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.