Skip to main content

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

Metadata

Release files for feincms-simpletable 0.4.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for feincms-simpletable 0.4.0
File Size Uploaded Provenance Actions
feincms_simpletable-0.4.0.tar.gz 6.8 kB Without provenance Details for feincms_simpletable-0.4.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for feincms-simpletable 0.4.0
File Interpreter ABI Platform Actions
feincms_simpletable-0.4.0-py3-none-any.whl Python 3 none any Details for feincms_simpletable-0.4.0-py3-none-any.whl

Total release size: 16.2 kB

Release files / feincms_simpletable-0.4.0.tar.gz

Download URL feincms_simpletable-0.4.0.tar.gz
Size 6.8 kB
Tags Source
SHA-256 checksum
How to use checksums
f9aad599127843e457f041dfdc057eb2f16d1c42034cbfc486bf4b36c7f29d21
BLAKE2b-256 checksum
How to use checksums
04d9e11231a7e56963dd73dbfa87dd811d64d10d97f39ecc0e46acabf612552d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / feincms_simpletable-0.4.0-py3-none-any.whl

Download URL feincms_simpletable-0.4.0-py3-none-any.whl
Size 9.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
100a6d2998852e314c7b11e4ef0c791719449ef07aef5431ab7268b92743dd0e
BLAKE2b-256 checksum
How to use checksums
84ea5bff2c6ff81e6fd2b070cc1c63f452388d188148341e57ac171e38804787
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for feincms-simpletable 0.4.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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page