Skip to main content

feincms_richtextplus is a feincms plugin that copies the functionality of the original RichTextContent, and adds TYPE_CHOICES configuration option

Convenient when you need to render RichText data using different templates which you can pick from admin page

Installation

  1. Add “feincms_richtextplus” to your INSTALLED_APPS setting like this:

    INSTALLED_APPS = (
        ...
        'feincms_richtextplus',
    )
  2. Create RichTextPlusContent for your Page model (or any other Base-derived model) like this:

    from feincms_richtextplus.models import RichTextPlusContent
    # ...
    Page.create_content_type(SimpleTableContent, TYPE_CHOICES=(
        ('default', 'default richtextplus'),
        ('wrapped', 'wrapped data'),
        # ... (other TYPE_CHOICES)
    ))
  3. Define templates for every TYPE_CHOICES entry, i.e.:: project_dir/app/templates/content/richtextplus/default.html project_dir/app/templates/content/richtextplus/wrapped.html

  4. Migrate Page

Metadata

Release files for feincms-richtextplus 1.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for feincms-richtextplus 1.1.0
File Size Uploaded Provenance
feincms_richtextplus-1.1.0.tar.gz 5.0 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for feincms-richtextplus 1.1.0
File Interpreter ABI Platform
feincms_richtextplus-1.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 11.2 kB

Release files / feincms_richtextplus-1.1.0.tar.gz

Download URL feincms_richtextplus-1.1.0.tar.gz
Size 5.0 kB
Tags Source
SHA-256 checksum
How to use checksums
c84e2702bea54511e9c46debfcaf8a9e577716068dc541be6ef3fa56183e7494
BLAKE2b-256 checksum
How to use checksums
b19d3c096452bf85b8d07d154b16f526cb60ed4ef2049d8a8eeb8f2fa1840594
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / feincms_richtextplus-1.1.0-py3-none-any.whl

Download URL feincms_richtextplus-1.1.0-py3-none-any.whl
Size 6.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f844463be725b7d0153f47f7f3a45ffd73e01fe368cf673071a3bb66c4376f5f
BLAKE2b-256 checksum
How to use checksums
4e81e560183b7cffae7645be2db08278104dc18ddcc69bfeddbe1c91eb8fb476
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for feincms-richtextplus 1.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Release history Release notifications | RSS feed

This release

1.1.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page