Metadata-Version: 2.1
Name: django-magic-tables
Version: 0.3.2.7
Summary: A Django app to turn easily QuerySets into tables
Home-page: https://www.example.com/
Author: Gabriele Mattioli
Author-email: gabrymattioli@gmail.com
License: MIT
Download-URL: https://pypi.org/project/django-magic-tables/
Keywords: Table,Magictable
Platform: UNKNOWN
Description-Content-Type: text/markdown

=====
Magic Tables
=====

Magic Tables is a Django app to turn QuerySets into any kind of table.

Detailed documentation is in the "docs" directory.

Quick start
-----------

- Install package

    ::

        $ pip install django-magic-tables'


- Add "magic_tables" to your INSTALLED_APPS setting like this:

    ::

        INSTALLED_APPS = [
            ...
            'magic_tables',
        ]


- Load "magic_tables_tags" at the top of the page where you want to use them like this:

    ::

        {% load magic_tables_tags %}
        [...]


- Create a magic table:

    ::

        [...]

        {% table object_list "optional classes separated by spaces" %}

        [...]

