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

Uploaded Source

Built Distribution

fluentcms_teaser-1.0.1-py2.py3-none-any.whl (11.9 kB view details)

Uploaded Python 2 Python 3

File details

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

File metadata

File hashes

Hashes for fluentcms-teaser-1.0.1.tar.gz
Algorithm Hash digest
SHA256 6abd9b13814257eb37758a3262646d9f7231e3e17d59923fb5387c43147bee1c
MD5 1a9f3a93911d6d70e44cf6be28d28f72
BLAKE2b-256 2af151e5837bf6a53fb4b82b6fae41af85561b22fdff61f0c17018d096235e34

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fluentcms_teaser-1.0.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 edb10820b523deb8f4cc18ed139f8f3226b875185a9d5573802f340e0721eaca
MD5 5a4cdf0c4378b0487bb46b937ae2af25
BLAKE2b-256 2ee39b7ad54a81f349bb0b1125f99852effb8012ad2b25d0d22a26d0ff4afe4a

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