Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

RichText Content with TYPE_CHOICES configurability

Project Description

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


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

  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

Release History

This version
History Node


Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, Size & Hash SHA256 Hash Help File Type Python Version Upload Date
(7.5 kB) Copy SHA256 Hash SHA256
Source None Apr 2, 2016

Supported By

Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Kabu Creative Kabu Creative UX & Design Google Google Cloud Servers Fastly Fastly CDN StatusPage StatusPage Statuspage DigiCert DigiCert EV Certificate