{ "info": { "author": "", "author_email": "", "bugtrack_url": null, "classifiers": [ "Environment :: Web Environment", "Framework :: Django", "Framework :: Django :: 1.11", "Framework :: Django :: 1.8", "Framework :: Django :: 2.2", "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.3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7" ], "description": "Django Pagination Links\n=======================\n\nSmall package for creating a list of page links from a Django paginator object,\nsimilar in style to the Django admin - showing the start and end pages, but\nonly showing a limited list of pages in the middle.\n\nInstallation\n------------\n\nUsing pip_:\n\n.. _pip: https://pip.pypa.io/\n\n.. code-block:: console\n\n $ pip install django-paginationlinks\n\n\nEdit your Django project's settings module, and add ``paginationlinks``:\n\n.. code-block:: python\n\n INSTALLED_APPS = [\n # ...\n 'paginationlinks',\n ]\n\nUsage\n-----\n\nLoad the template tag:\n\n.. code-block::\n\n {% load pagination_links %}\n\nTypical usage, which shows 1 page on each end, and 1 on each side of the current page:\n\n.. code-block::\n\n {% get_pagination_links paginator page_obj as pagination_links %}\n\nHowever the number of pages on each side can be customised, as well as how many pages at the end -\nboth are optional arguments:\n\n.. code-block::\n\n {% get_pagination_links paginator page_obj on_each_side=1 on_ends=2 as pagination_links %}\n\nA more fully featured example for a site:\n\n.. code-block::\n\n {% load pagination_links %}\n\n {% if page_obj.has_other_pages %}\n {% get_pagination_links paginator page_obj as pagination_links %}\n \n {% endif %}", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/developersociety/django-paginationlinks", "keywords": "", "license": "BSD", "maintainer": "The Developer Society", "maintainer_email": "studio@dev.ngo", "name": "django-paginationlinks", "package_url": "https://pypi.org/project/django-paginationlinks/", "platform": "any", "project_url": "https://pypi.org/project/django-paginationlinks/", "project_urls": { "Homepage": "https://github.com/developersociety/django-paginationlinks" }, "release_url": "https://pypi.org/project/django-paginationlinks/0.1.2/", "requires_dist": null, "requires_python": "", "summary": "Django Pagination Links", "version": "0.1.2" }, "last_serial": 5366532, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "f42a848802b6d96391494c37a754d9f4", "sha256": "e4405a3e6f9af1d97a55e69e74ce16904dcaf68b5b02a6a20bf1182a87718838" }, "downloads": -1, "filename": "django-paginationlinks-0.1.tar.gz", "has_sig": false, "md5_digest": "f42a848802b6d96391494c37a754d9f4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2525, "upload_time": "2015-04-09T15:24:08", "url": "https://files.pythonhosted.org/packages/50/ea/2708762eea9fc5ec4839ec31a9809151e41fc92576a8ee471e42945da098/django-paginationlinks-0.1.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "7eb46f9f46b657b9a5cca4928fc508d6", "sha256": "83c16b2b060be18bdf306372c66c589fe8f86fd237f5ace90cef463b20bd3caa" }, "downloads": -1, "filename": "django-paginationlinks-0.1.1.tar.gz", "has_sig": false, "md5_digest": "7eb46f9f46b657b9a5cca4928fc508d6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2612, "upload_time": "2015-12-03T14:10:42", "url": "https://files.pythonhosted.org/packages/a9/e2/73c08193cf043dc5a61c40f4f42dd91e7889f8620c31aa0854419d1c4b4c/django-paginationlinks-0.1.1.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "67c5cb8d7b8865d9491a4a0a7ec1a9f6", "sha256": "2f1dd7ece5023949a78a525db27118aa27996925eab8d59798d71c5ab6776457" }, "downloads": -1, "filename": "django-paginationlinks-0.1.2.tar.gz", "has_sig": false, "md5_digest": "67c5cb8d7b8865d9491a4a0a7ec1a9f6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2689, "upload_time": "2019-06-06T10:21:19", "url": "https://files.pythonhosted.org/packages/56/b0/998c4074cd764889d405f2ce732891d9fccc1d41da7294f2a8cea41a30bd/django-paginationlinks-0.1.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "67c5cb8d7b8865d9491a4a0a7ec1a9f6", "sha256": "2f1dd7ece5023949a78a525db27118aa27996925eab8d59798d71c5ab6776457" }, "downloads": -1, "filename": "django-paginationlinks-0.1.2.tar.gz", "has_sig": false, "md5_digest": "67c5cb8d7b8865d9491a4a0a7ec1a9f6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2689, "upload_time": "2019-06-06T10:21:19", "url": "https://files.pythonhosted.org/packages/56/b0/998c4074cd764889d405f2ce732891d9fccc1d41da7294f2a8cea41a30bd/django-paginationlinks-0.1.2.tar.gz" } ] }