Skip to main content

A teaser plugin for django-fluent-pages

Project description

fluentcms-teaser

https://github.com/django-fluent/fluentcms-teaser/actions/workflows/tests.yaml/badge.svg?branch=master https://img.shields.io/pypi/v/fluentcms-teaser.svg https://img.shields.io/pypi/l/fluentcms-teaser.svg https://img.shields.io/codecov/c/github/django-fluent/fluentcms-teaser/master.svg

A teaser plugin for django-fluent-contents

Originally authored by Basil Shubin.

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

Uploaded Source

Built Distribution

fluentcms_teaser-2.0-py3-none-any.whl (15.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: fluentcms-teaser-2.0.tar.gz
  • Upload date:
  • Size: 12.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.6

File hashes

Hashes for fluentcms-teaser-2.0.tar.gz
Algorithm Hash digest
SHA256 ac78183e629d5cd465681d9634c1a23d1027582f96caa1123dd72d6bf8d33467
MD5 18923ed666c0b9882c6aea214c5ab7a5
BLAKE2b-256 676e243dfb70d78622ac3b6ca9209d41ba84fa875095f2738463be819e4be5e3

See more details on using hashes here.

File details

Details for the file fluentcms_teaser-2.0-py3-none-any.whl.

File metadata

  • Download URL: fluentcms_teaser-2.0-py3-none-any.whl
  • Upload date:
  • Size: 15.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.6

File hashes

Hashes for fluentcms_teaser-2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9366aa78d348925be22abc9f050a2db8e9470bd3da1e9bcb39247fffc8ec4ed0
MD5 5a34bbdf5cf00e7ebe7acefc90d0f394
BLAKE2b-256 f4100e5d9fe6fb43c52f3d5edc934669d225f8b5e4c9d512f88088ea299c7ed6

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