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/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.2.tar.gz (11.7 kB view details)

Uploaded Source

Built Distribution

fluentcms_teaser-1.1.2-py2.py3-none-any.whl (14.1 kB view details)

Uploaded Python 2 Python 3

File details

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

File metadata

File hashes

Hashes for fluentcms-teaser-1.1.2.tar.gz
Algorithm Hash digest
SHA256 7d9ae44a6d452885fb60af45fc46e9d56816d8ce1a00ee2242352371957f3c74
MD5 bcd3f7e355ba6bd9c95bd0afb8ea6466
BLAKE2b-256 3f2eecf7a10f5834faa9a376b93ea83d6c8b768ecefbe467d76b28fcddf8b912

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fluentcms_teaser-1.1.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 03c8c3678862db359738dbf2882fe1e21912dfaca2b99b91f28d47777d386a6c
MD5 735b102bfc23238e998d46452b869ef5
BLAKE2b-256 e055f2c428b419107da0f2e7d96ed3721263b02f410c8ebd6fb1107009a5974c

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