{ "info": { "author": "Bradley Ayers", "author_email": "bradley.ayers@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Environment :: Web Environment", "Framework :: Django", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Topic :: Internet :: WWW/HTTP", "Topic :: Software Development :: Libraries" ], "description": "\n\ndjango-tables2 - An app for creating HTML tables\n------------------------------------------------\n\n.. image:: https://badge.fury.io/py/django-tables2.svg\n :target: https://pypi.python.org/pypi/django-tables2\n :alt: Latest PyPI version\n\n.. image:: https://travis-ci.org/jieter/django-tables2.svg?branch=master\n :target: https://travis-ci.org/jieter/django-tables2\n :alt: Travis CI\n\n.. image:: https://img.shields.io/badge/code%20style-black-000000.svg\n :target: https://github.com/ambv/black\n :alt: Any color you like\n\ndjango-tables2 simplifies the task of turning sets of data into HTML tables. It\nhas native support for pagination and sorting. It does for HTML tables what\n`django.forms` does for HTML forms. e.g.\n\n- `Available on pypi `_\n- Tested against currently supported versions of Django\n `and the python versions Django supports `_\n (see `Travis CI `_)\n- `Documentation on readthedocs.org `_\n- `Bug tracker `_\n\nFeatures:\n\n- Any iterable can be a data-source, but special support for Django `QuerySets` is included.\n- The builtin UI does not rely on JavaScript.\n- Support for automatic table generation based on a Django model.\n- Supports custom column functionality via subclassing.\n- Pagination.\n- Column based table sorting.\n- Template tag to enable trivial rendering to HTML.\n- Generic view mixin.\n\n.. image:: https://cdn.rawgit.com/jieter/django-tables2/master/docs/img/example.png\n :alt: An example table rendered using django-tables2\n\n.. image:: https://cdn.rawgit.com/jieter/django-tables2/master/docs/img/bootstrap.png\n :alt: An example table rendered using django-tables2 and bootstrap theme\n\n.. image:: https://cdn.rawgit.com/jieter/django-tables2/master/docs/img/semantic.png\n :alt: An example table rendered using django-tables2 and semantic-ui theme\n\nExample\n-------\n\nStart by adding ``django_tables2`` to your ``INSTALLED_APPS`` setting like this:\n\n.. code:: python\n\n INSTALLED_APPS = (\n ...,\n 'django_tables2',\n )\n\nCreating a table for a model `Simple` is as simple as:\n\n.. code:: python\n\n import django_tables2 as tables\n\n class SimpleTable(tables.Table):\n class Meta:\n model = Simple\n\nThis would then be used in a view:\n\n.. code:: python\n\n def simple_list(request):\n queryset = Simple.objects.all()\n table = SimpleTable(queryset)\n return render(request, 'simple_list.html', {'table': table})\n\nAnd finally in the template:\n\n.. code::\n\n {% load django_tables2 %}\n {% render_table table %}\n\nThis example shows one of the simplest cases, but django-tables2 can do a lot more!\nCheck out the `documentation `_ for more details.\n\n\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/jieter/django-tables2/", "keywords": "", "license": "Simplified BSD", "maintainer": "", "maintainer_email": "", "name": "django-tables2-bootstrap4", "package_url": "https://pypi.org/project/django-tables2-bootstrap4/", "platform": "", "project_url": "https://pypi.org/project/django-tables2-bootstrap4/", "project_urls": { "Homepage": "https://github.com/jieter/django-tables2/" }, "release_url": "https://pypi.org/project/django-tables2-bootstrap4/2.0.0b5/", "requires_dist": [ "Django (>=1.11)", "tablib; extra == 'tablib'" ], "requires_python": "", "summary": "Table/data-grid framework for Django", "version": "2.0.0b5" }, "last_serial": 4232643, "releases": { "2.0.0b5": [ { "comment_text": "", "digests": { "md5": "b378bb032411bb81e656519c9f7e417b", "sha256": "ecf660eb9fcc2c598ba971f8938f9c183008ab7661d692c4fc56b181d60ea32b" }, "downloads": -1, "filename": "django_tables2_bootstrap4-2.0.0b5-py3-none-any.whl", "has_sig": false, "md5_digest": "b378bb032411bb81e656519c9f7e417b", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 91224, "upload_time": "2018-09-02T21:30:49", "url": "https://files.pythonhosted.org/packages/47/f1/9832f6be8448b73eb8f216220231374d985bc589f9bf785b38e1c295e23a/django_tables2_bootstrap4-2.0.0b5-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "5f8ea192a0320ba16bdf718f76a97495", "sha256": "2abdc95716ba796098b90fe4424d8b1452c2a131bfd6a1c8235b5e5e2fd89c6e" }, "downloads": -1, "filename": "django-tables2-bootstrap4-2.0.0b5.tar.gz", "has_sig": false, "md5_digest": "5f8ea192a0320ba16bdf718f76a97495", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 355553, "upload_time": "2018-09-02T21:30:54", "url": "https://files.pythonhosted.org/packages/5f/29/9b3214fc4c32620d254e0953ee26591a36dd947181e74486046a85682b7a/django-tables2-bootstrap4-2.0.0b5.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "b378bb032411bb81e656519c9f7e417b", "sha256": "ecf660eb9fcc2c598ba971f8938f9c183008ab7661d692c4fc56b181d60ea32b" }, "downloads": -1, "filename": "django_tables2_bootstrap4-2.0.0b5-py3-none-any.whl", "has_sig": false, "md5_digest": "b378bb032411bb81e656519c9f7e417b", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 91224, "upload_time": "2018-09-02T21:30:49", "url": "https://files.pythonhosted.org/packages/47/f1/9832f6be8448b73eb8f216220231374d985bc589f9bf785b38e1c295e23a/django_tables2_bootstrap4-2.0.0b5-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "5f8ea192a0320ba16bdf718f76a97495", "sha256": "2abdc95716ba796098b90fe4424d8b1452c2a131bfd6a1c8235b5e5e2fd89c6e" }, "downloads": -1, "filename": "django-tables2-bootstrap4-2.0.0b5.tar.gz", "has_sig": false, "md5_digest": "5f8ea192a0320ba16bdf718f76a97495", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 355553, "upload_time": "2018-09-02T21:30:54", "url": "https://files.pythonhosted.org/packages/5f/29/9b3214fc4c32620d254e0953ee26591a36dd947181e74486046a85682b7a/django-tables2-bootstrap4-2.0.0b5.tar.gz" } ] }