{ "info": { "author": "Nekmo", "author_email": "contacto@nekmo.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "License :: OSI Approved :: MIT License", "Natural Language :: English", "Operating System :: POSIX :: Linux", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3.2", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5" ], "description": "Django REST Tables\n##################\nCreate dynamic tables with Angular using your Django Rest Framework API.\n\nIf you use Django Rest Framework, get a representation of your results dynamic and easy to use and extend. Features\ninclude:\n\n* Self-construction.\n* Pagination.\n* Filter by columns.\n* Sort by columns.\n* Change the field representation.\n\nBasic usage\n===========\n\nCreate a table class including your Django Rest Framework (DRF) ViewSet:\n\n.. code-block:: python\n\n # myapp/api.py\n # ------------\n class MyTable(Table):\n class Meta:\n view_set = MymodelViewSet # DRF ViewSet\n\n\nAdd it to your view context:\n\n.. code-block:: python\n\n # myapp/views.py\n # --------------\n def my_view(request):\n return render(request, 'myapp/mytable.html', {'table': MyTable()})\n\n\nAdd it to your template:\n\n.. code-block:: htmldjango\n\n {# myapp/templates/myapp/mytable.html #}\n {# ---------------------------------- #}\n\n {% load rest_tables %}\n\n {% rest_table table %}\n\n ....\n \n \n \n\n\nIt's all!", "description_content_type": null, "docs_url": null, "download_url": "https://github.com/Nekmo/django-rest-tables/archive/master.zip", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/Nekmo/django-rest-tables", "keywords": "django,django-rest-framework,tables", "license": "UNKNOWN", "maintainer": null, "maintainer_email": null, "name": "django-rest-tables", "package_url": "https://pypi.org/project/django-rest-tables/", "platform": "linux", "project_url": "https://pypi.org/project/django-rest-tables/", "project_urls": { "Download": "https://github.com/Nekmo/django-rest-tables/archive/master.zip", "Homepage": "https://github.com/Nekmo/django-rest-tables" }, "release_url": "https://pypi.org/project/django-rest-tables/0.1.0/", "requires_dist": null, "requires_python": null, "summary": "Package description", "version": "0.1.0" }, "last_serial": 2587993, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "75c6b39b84f44a6e3e5d6a99ef93fe80", "sha256": "b3a47b8c4a213bab81b561157ce926c87deb2951338083527df9fe6b67ad257e" }, "downloads": -1, "filename": "django-rest-tables-0.1.0.tar.gz", "has_sig": false, "md5_digest": "75c6b39b84f44a6e3e5d6a99ef93fe80", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6901, "upload_time": "2017-01-20T16:34:33", "url": "https://files.pythonhosted.org/packages/c1/e3/82a44412ff6b5cbedbe71c4b1498e37e5a076dd7b9f46d86f73bc79b7a41/django-rest-tables-0.1.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "75c6b39b84f44a6e3e5d6a99ef93fe80", "sha256": "b3a47b8c4a213bab81b561157ce926c87deb2951338083527df9fe6b67ad257e" }, "downloads": -1, "filename": "django-rest-tables-0.1.0.tar.gz", "has_sig": false, "md5_digest": "75c6b39b84f44a6e3e5d6a99ef93fe80", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6901, "upload_time": "2017-01-20T16:34:33", "url": "https://files.pythonhosted.org/packages/c1/e3/82a44412ff6b5cbedbe71c4b1498e37e5a076dd7b9f46d86f73bc79b7a41/django-rest-tables-0.1.0.tar.gz" } ] }