Skip to content

django-fluent/fluentcms-teaser

Repository files navigation

fluentcms-teaser

https://github.com/django-fluent/fluentcms-teaser/actions/workflows/tests.yaml/badge.svg?branch=master

A teaser plugin for django-fluent-contents

Originally authored by Basil Shubin.

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. :-)

About

Teaser plugin for django-fluent-contents

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published