feincms_richtextplus
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
Add “feincms_richtextplus” to your INSTALLED_APPS setting like this:
INSTALLED_APPS = ( ... 'feincms_richtextplus', )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) ))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
Migrate Page
Metadata
Release files for feincms-richtextplus 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| feincms_richtextplus-1.0.0.tar.gz | 7.5 kB | Without provenance | Details for feincms_richtextplus-1.0.0.tar.gz |
Release files / feincms_richtextplus-1.0.0.tar.gz
| Download URL | feincms_richtextplus-1.0.0.tar.gz |
|---|---|
| Size | 7.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a5518b813fd2fe434046c726d2bfe15160be8c58dfd3574856ab520427662c3f
|
|
BLAKE2b-256 checksum How to use checksums |
afdd46de8b64123164cc005ba6e5d91793cc26acc89bef738800822f945d1c89
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for feincms-richtextplus 1.0.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.
To learn more about protecting yourself from malicious actors, visit our package security documentation.