This is a pre-production deployment of Warehouse, however changes made here WILL affect the production instance of PyPI.
Latest Version Dependencies status unknown Test status unknown Test coverage unknown
Project Description

feincms_simpletable is a feincms plugin that adds a new content type for tables. Just copy-paste your data from Calc or Office spreadsheet into SimpleTableContent in admin, and it will be automatically converted to html and rendered as such on your website

Current limitation: merged cells are not supported

Quick start

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

    INSTALLED_APPS = (
        ...
        'feincms_simpletable',
    )
    
  2. If you intend to use it as feincms content type, register SimpleTableContent for your Page model (or any other Base-derived model) like this:

    from feincms_simpletable.models import SimpleTableContent
    # ...
    Page.create_content_type(SimpleTableContent)
    
    # tables will be rendered as
    # templates/content/feincms_simpletable/default.html
    
  3. (optional) It is possible to define TYPE_CHOICES for SimpleTableContent if you want to render tables using different templates:

    from feincms_simpletable.models import SimpleTableContent
    # ...
    Page.create_content_type(SimpleTableContent, TYPE_CHOICES=(
            ('default', 'default template'),
            ('other', 'some other template'),
            # ... (other types)
        )
    )
    
    # tables will be rendered as either of these, depending on admin choice:
    # templates/content/feincms_simpletable/default.html
    # templates/content/feincms_simpletable/other.html
    # ...
    
  4. If you want to add SimpleTable fields to your existing models, simply subclass it:

    class Product(Base, SimpleTable):
        # ...
    
  5. Migrate your models

Usage

  1. Add a SimpleTableContent to any feincms page in admin, then add data by copying it from your Calc or Excel spreadsheet into content field
  2. Models inheriting from SimpleTable are editable just like any other django model
Release History

Release History

0.3.0

This version

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.2.1

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.2.0

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.1.1

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.1

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

Download Files

Download Files

TODO: Brief introduction on what you do with files - including link to relevant help section.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
feincms_simpletable-0.3.0.tar.gz (9.8 kB) Copy SHA256 Checksum SHA256 Source Apr 3, 2016

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS HPE HPE Development Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting