Skip to main content

A teaser plugin for django-fluent-pages

Project description

fluentcms-teaser

A teaser plugin for django-fluent-contents

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.0.0.tar.gz (9.7 kB view details)

Uploaded Source

Built Distribution

fluentcms_teaser-1.0.0-py2.py3-none-any.whl (9.6 kB view details)

Uploaded Python 2 Python 3

File details

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

File metadata

File hashes

Hashes for fluentcms-teaser-1.0.0.tar.gz
Algorithm Hash digest
SHA256 ccbcdc8aebf8e48286ede0ae7abec1cf4d520479c52db0ddd2f69ad281f2780c
MD5 7cb5de3917578d1b89dfeaeb0834ec75
BLAKE2b-256 abdacdbca2725921249f5eec2992a2201a3acb1f958232abc98a226187610c65

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fluentcms_teaser-1.0.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 a6c9aca38103d02428044d68fa965adaf4a398221e48fafb53cb050ceb9d2b3d
MD5 810c5aac8defe2812b29225babb151bb
BLAKE2b-256 319da88343f2e528f07e0c49c2885dd58bf1290ea5b822ad47ba456efa56f20b

See more details on using hashes here.

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