{
"info": {
"author": "John Raleigh",
"author_email": "john.j.raleigh@gmail.com",
"bugtrack_url": null,
"classifiers": [
"Development Status :: 2 - Pre-Alpha",
"Environment :: Web Environment",
"Framework :: Django",
"Intended Audience :: Developers",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Topic :: Software Development"
],
"description": "# Datatable View\n\nThis package is used in conjunction with the jQuery plugin [DataTables](http://datatables.net/), and supports state-saving detection with [fnSetFilteringDelay](http://datatables.net/plug-ins/api). The package consists of a class-based view, and a small collection of utilities for rendering table data from models.\n\n[![PyPI Downloads][pypi-dl-image]][pypi-dl-link]\n[![PyPI Version][pypi-v-image]][pypi-v-link]\n[![Build Status][travis-image]][travis-link]\n[![Documentation Status][rtfd-image]][rtfd-link]\n\n[pypi-dl-link]: https://pypi.python.org/pypi/django-datatable-view\n[pypi-dl-image]: https://img.shields.io/pypi/dm/django-datatable-view.png\n[pypi-v-link]: https://pypi.python.org/pypi/django-datatable-view\n[pypi-v-image]: https://img.shields.io/pypi/v/django-datatable-view.png\n[travis-link]: https://travis-ci.org/pivotal-energy-solutions/django-datatable-view\n[travis-image]: https://travis-ci.org/pivotal-energy-solutions/django-datatable-view.svg?branch=traviscl\n[rtfd-link]: http://django-datatable-view.readthedocs.org/en/latest/?badge=latest\n[rtfd-image]: https://readthedocs.org/projects/django-datatable-view/badge/?version=latest\n\nDependencies:\n\n* Python 2.7/3.5 or later\n* [Django](http://www.djangoproject.com/) >= 1.11\n* [dateutil](http://labix.org/python-dateutil) library for flexible, fault-tolerant date parsing.\n* [jQuery](https://jquery.com/) >= 2\n* [dataTables.js](https://datatables.net/) >= 1.10\n\n# Getting Started\n\nInstall the package:\n\n```bash\npip install django-datatable-view\n```\n\nAdd to ``INSTALLED_APPS`` (so default templates and js can be discovered), and use the ``DatatableView`` like a Django ``ListView``:\n\n```python\n# settings.py\nINSTALLED_APPS = [\n 'datatableview',\n # ...\n]\n\n\n# views.py\nfrom datatableview.views import DatatableView\nclass ZeroConfigurationDatatableView(DatatableView):\n model = MyModel\n```\n\nUse the ``{{ datatable }}`` provided in the template context to render the table and initialize from server ajax:\n\n```html\n\n\n\n\n\n\n\n\n\n\n\n\n{{ datatable }}\n```\n\n# Features at a glance\n\n* ``DatatableView``, a drop-in replacement for ``ListView`` that allows options to be specified for the datatable that will be rendered on the page.\n* ``MultipleDatatableView`` for configurating multiple Datatable specifications on a single view\n* ``ModelForm``-like declarative table design.\n* Support for ``ValuesQuerySet`` execution mode instead of object instances\n* Queryset caching between requests\n* Customizable table headers\n* Compound columns (columns representing more than one model field)\n* Columns backed by methods or callbacks instead of model fields\n* Easy related fields\n* Automatic search and sort support\n* Total control over cell contents (HTML, processing of raw values)\n* Search data fields that aren't present on the table\n* Support for DT_RowData\n* Customization hook for full JSON response object\n* Drop-in x-editable support, per-column\n* Customizable table templates\n* Easy Bootstrap integration\n* Allows all normal dataTables.js and x-editable Javascript options\n* Small library of common column markup processors\n* Full test suite\n\n# Documentation and Live Demos\nRead the module documentation at http://django-datatable-view.readthedocs.org.\n\nA public live demo server is in the works. For version 0.8, we will continue to keep the live demo site alive at http://django-datatable-view.appspot.com/ Please note that 0.8 does not reflect the current state or direction of the project.\n\nYou can run the live demos locally from the included example project, using a few common setup steps.\n\n```bash\n$ git clone https://github.com/pivotal-energy-solutions/django-datatable-view.git\n$ cd django-datatable-view\n$ mkvirtualenv datatableview\n(datatableview)$ pip install -r requirements.txt\n(datatableview)$ datatableview/tests/example_project/manage.py migrate\n(datatableview)$ datatableview/tests/example_project/manage.py loaddata initial_data\n(datatableview)$ datatableview/tests/example_project/manage.py runserver\n```\n\nThe example project is configured to use a local sqlite3 database, and relies on the ``django-datatable-view`` app itself, which is made available in the python path by simply running the project from the distributed directory root.\n\n\n## Authors\n\n* Autumn Valenta\n* Steven Klass\n\n\n## Copyright and license\n\nCopyright (c) 2012-2018 Pivotal Energy Solutions. All rights reserved.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this work except in compliance with the License.\nYou may obtain a copy of the License in the LICENSE file, or at:\n\n http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.",
"description_content_type": "text/markdown",
"docs_url": null,
"download_url": "https://github.com/packerbacker3333/django-datatable-view/archive/jjr-0.0.3.tar.gz",
"downloads": {
"last_day": -1,
"last_month": -1,
"last_week": -1
},
"home_page": "https://github.com/packerbacker3333/django-datatable-view/releases/tag/jjr-0.0.3",
"keywords": "",
"license": "Apache License (2.0)",
"maintainer": "",
"maintainer_email": "",
"name": "dtv-custom",
"package_url": "https://pypi.org/project/dtv-custom/",
"platform": "",
"project_url": "https://pypi.org/project/dtv-custom/",
"project_urls": {
"Download": "https://github.com/packerbacker3333/django-datatable-view/archive/jjr-0.0.3.tar.gz",
"Homepage": "https://github.com/packerbacker3333/django-datatable-view/releases/tag/jjr-0.0.3"
},
"release_url": "https://pypi.org/project/dtv-custom/0.0.3/",
"requires_dist": null,
"requires_python": "",
"summary": "This package is used in conjunction with the jQuery plugin (http://http://datatables.net/), and supports state-saving detection with (http://datatables.net/plug-ins/api). The package consists of a class-based view, and a small collection of utilities for rendering table data from models.",
"version": "0.0.3"
},
"last_serial": 5854027,
"releases": {
"0.0.1": [
{
"comment_text": "",
"digests": {
"md5": "396273acc1e958f953c307eb17d6c8e1",
"sha256": "e4a0a1b4435e0acd31230ccd47515832ecd0a77081ad9de8e1956939012ac984"
},
"downloads": -1,
"filename": "dtv-custom-0.0.1.tar.gz",
"has_sig": false,
"md5_digest": "396273acc1e958f953c307eb17d6c8e1",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 65512,
"upload_time": "2019-08-29T10:56:02",
"url": "https://files.pythonhosted.org/packages/4c/61/a6d285622468e8bd872aaf0bce0e331d7fc16e734936fc68259631ad714f/dtv-custom-0.0.1.tar.gz"
}
],
"0.0.3": [
{
"comment_text": "",
"digests": {
"md5": "53fa895b80ba46b26fc1ca2532f22cd5",
"sha256": "44d4e15e9a162075dfd34f38c34c88f2d7e466964be9f2b696be6a190e90a69a"
},
"downloads": -1,
"filename": "dtv-custom-0.0.3.tar.gz",
"has_sig": false,
"md5_digest": "53fa895b80ba46b26fc1ca2532f22cd5",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 65922,
"upload_time": "2019-09-19T05:01:54",
"url": "https://files.pythonhosted.org/packages/44/b0/9cefc5c9b4f2bbc3a66a9571f64270262eeb21fa7a084b43e837a6b1d85a/dtv-custom-0.0.3.tar.gz"
}
]
},
"urls": [
{
"comment_text": "",
"digests": {
"md5": "53fa895b80ba46b26fc1ca2532f22cd5",
"sha256": "44d4e15e9a162075dfd34f38c34c88f2d7e466964be9f2b696be6a190e90a69a"
},
"downloads": -1,
"filename": "dtv-custom-0.0.3.tar.gz",
"has_sig": false,
"md5_digest": "53fa895b80ba46b26fc1ca2532f22cd5",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 65922,
"upload_time": "2019-09-19T05:01:54",
"url": "https://files.pythonhosted.org/packages/44/b0/9cefc5c9b4f2bbc3a66a9571f64270262eeb21fa7a084b43e837a6b1d85a/dtv-custom-0.0.3.tar.gz"
}
]
}