{ "info": { "author": "Jamie Norrish", "author_email": "jamie@artefact.org.nz", "bugtrack_url": null, "classifiers": [ "Framework :: Django", "Intended Audience :: Developers", "License :: OSI Approved :: Apache Software License", "Programming Language :: Python", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Topic :: Utilities" ], "description": "ddh_django_utils\n================\n\nProvides a number of useful utilities for Django projects,\nparticularly within the context of DDH projects.\n\nPagination\n----------\n\n``ddh_utils.utils`` provides the ``create_pagination`` function to\ngenerate Paginator and Page objects from the supplied parameters,\nhandling any problems with the supplied page number. This just avoids\nrepeating the example view code from the Django documentation.\n\nThe ``ddh_utils_tags`` template tag library provides the\n``display_pagination`` inclusion tag, which outputs the navigation for\na set of results, based on the supplied page::\n\n {% load ddh_utils_tags %}\n {% display_pagination querydict page %}\n\nThis includes the template ``includes/pagination.html``.\n\n\nHaystack\n--------\n\n``ddh_utils.views`` provides ``SearchView`` and ``FacetedSearchView``\nclasses that have better pagination than those in Haystack's own views\n(making use of the ``create_pagination`` function), and also add the\nrequest's GET parameters to the context (under the variable name\n``querydict``) for use in pagination and facetting.\n\n``ddh_util_tags`` provides simple tags for creating URLs by adding and\nremoving facets::\n\n {% load ddh_utils_tags %}\n Add\n\n Remove\n", "description_content_type": null, "docs_url": null, "download_url": null, "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/kcl-ddh/ddh_django_utils", "keywords": null, "license": "Apache License, Version 2.0", "maintainer": null, "maintainer_email": null, "name": "ddh_django_utils", "package_url": "https://pypi.org/project/ddh_django_utils/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/ddh_django_utils/", "project_urls": { "Homepage": "https://github.com/kcl-ddh/ddh_django_utils" }, "release_url": "https://pypi.org/project/ddh_django_utils/0.9.4/", "requires_dist": null, "requires_python": null, "summary": "Reusable Django app containing utilities for DDH projects", "version": "0.9.4" }, "last_serial": 1764967, "releases": { "0.9": [ { "comment_text": "", "digests": { "md5": "922416b71900ccc3bd6a48bff30ef81a", "sha256": "3217871aa4f42e86903c25e0fc2ead153e5ef213785ec95d0a0b38984c481a74" }, "downloads": -1, "filename": "ddh_django_utils-0.9.tar.gz", "has_sig": false, "md5_digest": "922416b71900ccc3bd6a48bff30ef81a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3294, "upload_time": "2015-01-15T19:46:28", "url": "https://files.pythonhosted.org/packages/00/f4/7213e148ff2cc0c934978b2e1760d2914de9a077eb75fcab29ef25011c81/ddh_django_utils-0.9.tar.gz" } ], "0.9.1": [ { "comment_text": "", "digests": { "md5": "9bf96ce76cc869599677e4491bd68fbe", "sha256": "240d1903b00692914f1e9835479a4b0ccc19fcf3dafedc6e2a8a2edb0fadebff" }, "downloads": -1, "filename": "ddh_django_utils-0.9.1-py2-none-any.whl", "has_sig": false, "md5_digest": "9bf96ce76cc869599677e4491bd68fbe", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 6727, "upload_time": "2015-03-16T22:32:36", "url": "https://files.pythonhosted.org/packages/33/4d/09d60d34d03be3aa0fb1fe5c5afca06da74e68048c352c2a439f0ee1a2a8/ddh_django_utils-0.9.1-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "bdfaf05f48ce1267d9e8410a894c5279", "sha256": "2c0a2faee59779175003820564d593088b4241a990cc5bbb0e07f1aa192843f1" }, "downloads": -1, "filename": "ddh_django_utils-0.9.1.tar.gz", "has_sig": false, "md5_digest": "bdfaf05f48ce1267d9e8410a894c5279", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4337, "upload_time": "2015-03-16T22:32:39", "url": "https://files.pythonhosted.org/packages/5e/b3/e8205f280f1d8eeb0c50e298bcf5ba18c59f4a47fdcdf7a787e0abb231fb/ddh_django_utils-0.9.1.tar.gz" } ], "0.9.2": [ { "comment_text": "", "digests": { "md5": "468be4f5b0158b37ff21b41474c9279f", "sha256": "51dae3e4e5ac01d826071fc32034f22d9a1e17877f18e55a8aa7a580e510ee24" }, "downloads": -1, "filename": "ddh_django_utils-0.9.2-py2-none-any.whl", "has_sig": false, "md5_digest": "468be4f5b0158b37ff21b41474c9279f", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 6334, "upload_time": "2015-03-17T00:58:03", "url": "https://files.pythonhosted.org/packages/76/3a/de641025a73039e4e20311d72c087b5cc8c638daf399b9b28cdbb77a6e8d/ddh_django_utils-0.9.2-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "74289699c0b2b8f0930d1def159ac165", "sha256": "b076fd0b4e72a23e60f600b98205e51a857bf05547bba8b881a425314622d5c6" }, "downloads": -1, "filename": "ddh_django_utils-0.9.2.tar.gz", "has_sig": false, "md5_digest": "74289699c0b2b8f0930d1def159ac165", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4611, "upload_time": "2015-03-17T00:58:06", "url": "https://files.pythonhosted.org/packages/07/22/b4288495e372dbf5a5c952463f4767daded401a09a6cdc9f28e512e0e90e/ddh_django_utils-0.9.2.tar.gz" } ], "0.9.3": [ { "comment_text": "", "digests": { "md5": "f9203c6dd923785f002495793448fe2e", "sha256": "cabdb22ea03fc9a269cce1cd00d3aade10b2c742c93670883441e5a34c2cfb11" }, "downloads": -1, "filename": "ddh_django_utils-0.9.3-py2-none-any.whl", "has_sig": false, "md5_digest": "f9203c6dd923785f002495793448fe2e", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 6417, "upload_time": "2015-03-17T19:32:27", "url": "https://files.pythonhosted.org/packages/b0/38/795662cdb02bf9ff489f78af3e0ca8425c369a9a725c750ba4cd388ce13a/ddh_django_utils-0.9.3-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "fca30b6a82caa7008d70560c1f442a59", "sha256": "d6f2431b4df4808d758965e5a3411588c770a4166978fa52ad9b59ce9b69b900" }, "downloads": -1, "filename": "ddh_django_utils-0.9.3.tar.gz", "has_sig": false, "md5_digest": "fca30b6a82caa7008d70560c1f442a59", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8600, "upload_time": "2015-03-17T19:32:30", "url": "https://files.pythonhosted.org/packages/bb/75/452b4faa501fe36494882aa9114f25885d3fb33fcd1a24bb9050a91096f0/ddh_django_utils-0.9.3.tar.gz" } ], "0.9.4": [ { "comment_text": "", "digests": { "md5": "3602e7a6c6833f16aa5d7bdb624a56f3", "sha256": "8d96da070277599277ed08529197857a0b768a16866df5af5f367d99cd22286b" }, "downloads": -1, "filename": "ddh_django_utils-0.9.4-py2-none-any.whl", "has_sig": false, "md5_digest": "3602e7a6c6833f16aa5d7bdb624a56f3", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 14028, "upload_time": "2015-10-11T19:28:48", "url": "https://files.pythonhosted.org/packages/f9/e4/3bc27437feeac19837ce88e9e67202291bcb93bad92cdcbdc16bfa0ab9fa/ddh_django_utils-0.9.4-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "4ebf0710a80a74456e84d107d6f37aed", "sha256": "13db503021bd87ac7171572b04fc9694129be9be3a3eae1db8d6ee1019dc8c13" }, "downloads": -1, "filename": "ddh_django_utils-0.9.4.tar.gz", "has_sig": false, "md5_digest": "4ebf0710a80a74456e84d107d6f37aed", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8713, "upload_time": "2015-10-11T19:28:52", "url": "https://files.pythonhosted.org/packages/f2/40/913a5c682cd1752f5dc696bce728a8a407a929ab9488a3e06b53042b289c/ddh_django_utils-0.9.4.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "3602e7a6c6833f16aa5d7bdb624a56f3", "sha256": "8d96da070277599277ed08529197857a0b768a16866df5af5f367d99cd22286b" }, "downloads": -1, "filename": "ddh_django_utils-0.9.4-py2-none-any.whl", "has_sig": false, "md5_digest": "3602e7a6c6833f16aa5d7bdb624a56f3", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 14028, "upload_time": "2015-10-11T19:28:48", "url": "https://files.pythonhosted.org/packages/f9/e4/3bc27437feeac19837ce88e9e67202291bcb93bad92cdcbdc16bfa0ab9fa/ddh_django_utils-0.9.4-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "4ebf0710a80a74456e84d107d6f37aed", "sha256": "13db503021bd87ac7171572b04fc9694129be9be3a3eae1db8d6ee1019dc8c13" }, "downloads": -1, "filename": "ddh_django_utils-0.9.4.tar.gz", "has_sig": false, "md5_digest": "4ebf0710a80a74456e84d107d6f37aed", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8713, "upload_time": "2015-10-11T19:28:52", "url": "https://files.pythonhosted.org/packages/f2/40/913a5c682cd1752f5dc696bce728a8a407a929ab9488a3e06b53042b289c/ddh_django_utils-0.9.4.tar.gz" } ] }