Table content type for feincms: copy-paste cells from spreadsheets to admin, get them displayed as html table on your website
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
Add “feincms_simpletable” to your INSTALLED_APPS setting like this:
INSTALLED_APPS = ( ... 'feincms_simpletable', )
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)
If you want to add SimpleTable fields to your existing models, simply subclass it:
class Product(Base, SimpleTable): # ...
Migrate your models
Usage
Add a SimpleTableContent to any feincms page in admin, then add data by copying it from your Calc or Excel spreadsheet into content field
Models inheriting from SimpleTable are editable just like any other django model
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.