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.1.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 | |
|---|---|---|---|---|
| feincms_richtextplus-1.1.0.tar.gz | 5.0 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| 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.