Skip to main content

A teaser plugin for django-fluent-pages

Project description

fluentcms-teaser

A teaser plugin for django-fluent-contents

https://img.shields.io/pypi/v/fluentcms-teaser.svg https://img.shields.io/pypi/dm/fluentcms-teaser.svg https://img.shields.io/github/license/bashu/fluentcms-teaser.svg https://landscape.io/github/bashu/fluentcms-teaser/develop/landscape.svg?style=flat

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 details)

Uploaded Source

Built Distribution

fluentcms_teaser-1.1.0-py2.py3-none-any.whl (15.8 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file fluentcms-teaser-1.1.0.tar.gz.

File metadata

File hashes

Hashes for fluentcms-teaser-1.1.0.tar.gz
Algorithm Hash digest
SHA256 8eba3593a84fc87162c407d0ee692976c0da916203a519a04f16610191f157a4
MD5 cd8e00dfcbc32cbc30e1223e9670d214
BLAKE2b-256 0c831f17d4864eb08ecb41858bef8c1b3edcbaabca71bf539208e1eec448252f

See more details on using hashes here.

Provenance

File details

Details for the file fluentcms_teaser-1.1.0-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for fluentcms_teaser-1.1.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 2a37c9fb2fa4129ceb3d5137e30efb237124181c260884deaf78f93192694cba
MD5 06d8634174a5ed1e08e0d69e1cf48783
BLAKE2b-256 95985717c2cfe4df3ba7d69922b7172a9410c571ea97ec7dfbf229390bc5d257

See more details on using hashes here.

Provenance

Supported by

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