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

Uploaded Source

Built Distribution

fluentcms_teaser-1.1.1-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.1.tar.gz.

File metadata

File hashes

Hashes for fluentcms-teaser-1.1.1.tar.gz
Algorithm Hash digest
SHA256 b424366bf6ff6e828455ff047dc7da476c3473e7e3a19340ac66ef609fb63fcb
MD5 378446e7055086edeeba3f77045af67e
BLAKE2b-256 6df54646b931b22a4214260e4076c1cc502fd806e8681267fcd7f9ea5aca0ea8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fluentcms_teaser-1.1.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 b84eaa04d3bee983f89863328f9ceb149f2213e785f6891db091d7146c369772
MD5 968cc0fb1d458cffd43535df31e6d2de
BLAKE2b-256 1cfa4ebf9636c7a25131017243a7a0824fe88b3842e4e28a71b98a92c116c29c

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