{ "info": { "author": "tzangms", "author_email": "tzangms@gmail.com", "bugtrack_url": null, "classifiers": [ "Environment :: Web Environment", "Framework :: Django", "Programming Language :: Python", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "# Django NextPage\n\n`django-nextpage` is modified from django-pagination, but only previous and next page is provided.\n\nSince SQL COUNT statement on large table has poor performance, lots of website turns to show just next and previous page link or button.\n\n\n## How it works?\n\n`django-nextpage` only execute one SQL statement, no count, no next page determine query.\n\nFor example:\n\nIf you want to pagiante by 20, django-nextpage will query for 21 items, if queryset length is 21, then we have next page; if queryset length is 20 or less, then we don't have next page. \n\n\n## Installation\n\nAdd `nextpage` to `INSTALLED_APPS`, like:\n\n```python\n INSTALLED_APPS = (\n # ...\n 'nextpage',\n )\n```\n\n\nand `TEMPLATE_CONTEXT_PROCESSORS` should have `django.core.context_processors.request`, like:\n\n\n```python\n (\"django.core.context_processors.auth\",\n \"django.core.context_processors.debug\",\n \"django.core.context_processors.i18n\",\n \"django.core.context_processors.media\",\n \"django.core.context_processors.request\")\n```\n\n\n\n\n## Usage\n\nJust like `django-pagination`, in fact it designed as a drop-in replacement. just load `nextpage` templatetag \n\n```python\n {% load nextpage %}\n\n {% autopaginate object_list 20 %}\n\n {% paginate %}\n```\n\nor you can assign with different pagination template in `templates/nextpage` folder by\n\n```\n {% paginate \"your_own_pagination.html\" %}\n```\n\n\n\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://github.com/StreetVoice/django-nextpage", "keywords": "pagination,django", "license": "BSD", "maintainer": "", "maintainer_email": "", "name": "django-nextpage", "package_url": "https://pypi.org/project/django-nextpage/", "platform": "", "project_url": "https://pypi.org/project/django-nextpage/", "project_urls": { "Homepage": "http://github.com/StreetVoice/django-nextpage" }, "release_url": "https://pypi.org/project/django-nextpage/1.0.2/", "requires_dist": null, "requires_python": "", "summary": "django-nextpage", "version": "1.0.2" }, "last_serial": 5707207, "releases": { "0.1": [], "0.2": [ { "comment_text": "", "digests": { "md5": "4d896ef9ff8c594202c4e10c0c3457cf", "sha256": "78da18237daf7714a7a45cabdc3cb933a78ecc225bc13aa16bc45bc55d5b28b2" }, "downloads": -1, "filename": "django-nextpage-0.2.tar.gz", "has_sig": false, "md5_digest": "4d896ef9ff8c594202c4e10c0c3457cf", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3263, "upload_time": "2012-02-14T14:21:48", "url": "https://files.pythonhosted.org/packages/90/11/f7542de3c75ab694bb1206b9551ba0693d1ef31707f6c93d6b6ab8736622/django-nextpage-0.2.tar.gz" } ], "0.3": [ { "comment_text": "", "digests": { "md5": "cb8b5f6fd8dd5336cab465b53fc0dd8f", "sha256": "416be9e9305870980446e66a0d5685ee7f33f1d7105b3b5d827b5f71c60daa19" }, "downloads": -1, "filename": "django-nextpage-0.3.tar.gz", "has_sig": false, "md5_digest": "cb8b5f6fd8dd5336cab465b53fc0dd8f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3355, "upload_time": "2012-02-16T03:39:32", "url": "https://files.pythonhosted.org/packages/ef/fe/6279120ad2aaa9598688e82c58aa8c6e60ab2c8357dbb21730366f4feb58/django-nextpage-0.3.tar.gz" } ], "0.4": [ { "comment_text": "", "digests": { "md5": "8cdd20373528d1370437aba6758f9489", "sha256": "a51d28122a00fdcd418f8bab918db9c51711dea5d862ac421c38e289e85ac6d2" }, "downloads": -1, "filename": "django-nextpage-0.4.tar.gz", "has_sig": false, "md5_digest": "8cdd20373528d1370437aba6758f9489", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3355, "upload_time": "2012-02-16T03:48:33", "url": "https://files.pythonhosted.org/packages/0e/e8/c53dfcad4228aad9062231904312a59279a332486d42d2fb1dc0b26364c7/django-nextpage-0.4.tar.gz" } ], "0.5": [ { "comment_text": "", "digests": { "md5": "d9385a84555b14246f31005a677bc149", "sha256": "4af7b6bfe34a563405228f575fe3305949a4573b37ce3beaf06059b53553fcc9" }, "downloads": -1, "filename": "django-nextpage-0.5.tar.gz", "has_sig": false, "md5_digest": "d9385a84555b14246f31005a677bc149", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3442, "upload_time": "2012-05-17T10:47:08", "url": "https://files.pythonhosted.org/packages/07/57/41a01806415a5f697599ddfd20e6b051a73b4819c5ebc415ec7c01895b39/django-nextpage-0.5.tar.gz" } ], "0.6": [ { "comment_text": "", "digests": { "md5": "fa4973dd85d4113718b171cd255bab5f", "sha256": "49a2ff8397687eb37093fa676b9fcc1a6133a99194de77d98a534d66239aa7d4" }, "downloads": -1, "filename": "django-nextpage-0.6.tar.gz", "has_sig": false, "md5_digest": "fa4973dd85d4113718b171cd255bab5f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3468, "upload_time": "2012-05-19T03:47:45", "url": "https://files.pythonhosted.org/packages/b9/89/435140a22534e837d3662c9ed2c998a1a4bb5d1644fdaabcfe85d5eb052b/django-nextpage-0.6.tar.gz" } ], "1.0.1": [ { "comment_text": "", "digests": { "md5": "59a5e47d821693c97cdc098df6740aef", "sha256": "6fa0e44d18266e61054b1d4b29111814a595f98c98595a3a085dffdb5bf7e348" }, "downloads": -1, "filename": "django_nextpage-1.0.1-py2-none-any.whl", "has_sig": false, "md5_digest": "59a5e47d821693c97cdc098df6740aef", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 5220, "upload_time": "2018-10-26T09:57:20", "url": "https://files.pythonhosted.org/packages/fc/67/85e7fc986710781d8b330ac6727630e03b2d58747d4eed455235d15f5b19/django_nextpage-1.0.1-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "363b0b7de954c2234e2281f8780c6842", "sha256": "929e1928b41c47bf721f73dc2a384b5ae3f1350abd5b4d761bcf973275b49942" }, "downloads": -1, "filename": "django-nextpage-1.0.1.tar.gz", "has_sig": false, "md5_digest": "363b0b7de954c2234e2281f8780c6842", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3572, "upload_time": "2018-10-26T09:57:22", "url": "https://files.pythonhosted.org/packages/14/2b/5f07c1a07f767ab5d6f7294322c0aec93f516ede250ed3ad7ea099224ad6/django-nextpage-1.0.1.tar.gz" } ], "1.0.2": [ { "comment_text": "", "digests": { "md5": "c64c4ac3c19fba9fc379423fd1ec271a", "sha256": "dd7a516ba860339ab3db9aef032937c591d0a698215d32ac0cd28d406bf16d49" }, "downloads": -1, "filename": "django_nextpage-1.0.2-py2-none-any.whl", "has_sig": false, "md5_digest": "c64c4ac3c19fba9fc379423fd1ec271a", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 5164, "upload_time": "2019-08-21T06:15:58", "url": "https://files.pythonhosted.org/packages/c3/3a/7988b0d2faa0dee8127982ed1685ed17f6a8194cb8fe0ca287af96ef6f6d/django_nextpage-1.0.2-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "9c3ddc1c954c7de52afb9e9d5b965c8f", "sha256": "ca52e3d97a244d735b6ff20f7f08c0071952e6c8ff06c8694fffeac59a51e478" }, "downloads": -1, "filename": "django-nextpage-1.0.2.tar.gz", "has_sig": false, "md5_digest": "9c3ddc1c954c7de52afb9e9d5b965c8f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3529, "upload_time": "2019-08-21T06:15:59", "url": "https://files.pythonhosted.org/packages/9f/ff/70c895b1716862f55924b25bd3c0a00561481afc12d1e97d1fb107aaf6f0/django-nextpage-1.0.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "c64c4ac3c19fba9fc379423fd1ec271a", "sha256": "dd7a516ba860339ab3db9aef032937c591d0a698215d32ac0cd28d406bf16d49" }, "downloads": -1, "filename": "django_nextpage-1.0.2-py2-none-any.whl", "has_sig": false, "md5_digest": "c64c4ac3c19fba9fc379423fd1ec271a", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 5164, "upload_time": "2019-08-21T06:15:58", "url": "https://files.pythonhosted.org/packages/c3/3a/7988b0d2faa0dee8127982ed1685ed17f6a8194cb8fe0ca287af96ef6f6d/django_nextpage-1.0.2-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "9c3ddc1c954c7de52afb9e9d5b965c8f", "sha256": "ca52e3d97a244d735b6ff20f7f08c0071952e6c8ff06c8694fffeac59a51e478" }, "downloads": -1, "filename": "django-nextpage-1.0.2.tar.gz", "has_sig": false, "md5_digest": "9c3ddc1c954c7de52afb9e9d5b965c8f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3529, "upload_time": "2019-08-21T06:15:59", "url": "https://files.pythonhosted.org/packages/9f/ff/70c895b1716862f55924b25bd3c0a00561481afc12d1e97d1fb107aaf6f0/django-nextpage-1.0.2.tar.gz" } ] }