{ "info": { "author": "Ilya Shalyapin", "author_email": "ishalyapin@gmail.com", "bugtrack_url": null, "classifiers": [ "Environment :: Web Environment", "Framework :: Django", "Intended Audience :: Developers", "Programming Language :: Python" ], "description": "# django-pager\n\nPagination. If you have many pages, only 11 will be shown. \nFor example you have 100 pages. \n\n**1** 2 3 4 5 6 7 8 ... 98 99 100\n\n1 2 3 ... 71 72 **73** 74 75 ... 98 99 100\n\n1 2 3 ... 93 94 95 96 97 98 **99** 100\n\n## Installation\n \n pip install django-pager\n\n## Configuration\n\nsettings.py\n\n INSTALLED_APPS = (\n ...\n 'django_pager',\n )\n\n\n\n## Usage \n\nviews.py\n\n from django_pager import paginate\n\n def listing(request):\n qs = Contact.objects.all()\n page = request.GET.get('page', 1)\n contacts = paginate(qs, page, 10)\n return render('list.html', {\"contacts\": contacts})\n\n\nlist.html\n \n {% include 'django_pager/pager.html' with objects=contacts %}\n\n\n## Run tests\n\n PYTHONPATH=. python django_pager/tests.py", "description_content_type": null, "docs_url": null, "download_url": "https://github.com/un1t/django-pager/tarball/master", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/un1t/django-pager", "keywords": "django", "license": "MIT License", "maintainer": null, "maintainer_email": null, "name": "django-pager", "package_url": "https://pypi.org/project/django-pager/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/django-pager/", "project_urls": { "Download": "https://github.com/un1t/django-pager/tarball/master", "Homepage": "https://github.com/un1t/django-pager" }, "release_url": "https://pypi.org/project/django-pager/0.1.7/", "requires_dist": null, "requires_python": null, "summary": "Pagination.", "version": "0.1.7" }, "last_serial": 790248, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "26e20ae7d7fb18ce650a920cdee00b91", "sha256": "82fa1c87b063697d368e825c108c30d9f4d2ea65b930d0ddfda9e71763a3a326" }, "downloads": -1, "filename": "django-pager-0.1.tar.gz", "has_sig": false, "md5_digest": "26e20ae7d7fb18ce650a920cdee00b91", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2255, "upload_time": "2012-09-19T05:43:26", "url": "https://files.pythonhosted.org/packages/9c/1a/1676dfbb3a2a7000c3477f22333f181b6af96f86275ea0e231e96e8f3779/django-pager-0.1.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "e7b6b7e8c16b0130c9203d2f090320c0", "sha256": "e7a78e5b36dbde7b9abcf8de481b390bd75969baf7031920c0f7685de096b518" }, "downloads": -1, "filename": "django-pager-0.1.1.tar.gz", "has_sig": false, "md5_digest": "e7b6b7e8c16b0130c9203d2f090320c0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2268, "upload_time": "2012-09-19T05:53:13", "url": "https://files.pythonhosted.org/packages/fc/86/05ec89082d5949477972a1ce68606c6567139732c00dadc940b712dd1434/django-pager-0.1.1.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "dc5a66dd4efb9f0eacd73a5d7d3ccdda", "sha256": "b9885a9269c6ce1f05510b9c117de2a802d8806fad7b06f10be80d566089d588" }, "downloads": -1, "filename": "django-pager-0.1.2.tar.gz", "has_sig": false, "md5_digest": "dc5a66dd4efb9f0eacd73a5d7d3ccdda", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2817, "upload_time": "2012-09-19T05:55:11", "url": "https://files.pythonhosted.org/packages/70/41/3fa5f0e80983da494630d7d9dd70a8962f5ca816f2f2103ee0d458902770/django-pager-0.1.2.tar.gz" } ], "0.1.3": [ { "comment_text": "", "digests": { "md5": "e18362880c174e502a6aaec2468555d3", "sha256": "5e56ee40934dc90b0429ded6d8fbe7765eefcaa5d5eb0dcf2087e0424020d486" }, "downloads": -1, "filename": "django-pager-0.1.3.tar.gz", "has_sig": false, "md5_digest": "e18362880c174e502a6aaec2468555d3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2826, "upload_time": "2012-09-19T05:56:58", "url": "https://files.pythonhosted.org/packages/31/d1/ebec0697884d959d82a487f7b8f2a59088d82002f3546e5131853c4e7580/django-pager-0.1.3.tar.gz" } ], "0.1.4": [ { "comment_text": "", "digests": { "md5": "9e1c3b5ea5876e3dd3b80649295eb88a", "sha256": "ae6d3d9f63b24838296b78b1f1ab84caac5c403cc5ae4df24dfb82e50a2bf465" }, "downloads": -1, "filename": "django-pager-0.1.4.tar.gz", "has_sig": false, "md5_digest": "9e1c3b5ea5876e3dd3b80649295eb88a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2843, "upload_time": "2012-09-19T06:01:48", "url": "https://files.pythonhosted.org/packages/e5/82/75092c1b6362e9632fb93621e157bbca453d04d987eeaaaf5453982ead0d/django-pager-0.1.4.tar.gz" } ], "0.1.5": [ { "comment_text": "", "digests": { "md5": "9b362d85db6d18729f97a2634c44d9ba", "sha256": "27d9d755e37678e3c98c88841ea869e5ec5d25b861b4d60d63bddf9f11355772" }, "downloads": -1, "filename": "django-pager-0.1.5.tar.gz", "has_sig": false, "md5_digest": "9b362d85db6d18729f97a2634c44d9ba", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2864, "upload_time": "2012-09-19T06:09:05", "url": "https://files.pythonhosted.org/packages/e8/9b/f332a2ac59dd163b4d78553854b8bf2fd2b1c2e5b99e3ce4f268b9533491/django-pager-0.1.5.tar.gz" } ], "0.1.6": [ { "comment_text": "", "digests": { "md5": "f711c7aed60927862912ca258beb14f3", "sha256": "115da084de6f037ff2ededc406afcd8184a0efb6b3762da49951e840e663e988" }, "downloads": -1, "filename": "django-pager-0.1.6.tar.gz", "has_sig": false, "md5_digest": "f711c7aed60927862912ca258beb14f3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2991, "upload_time": "2012-09-20T08:03:03", "url": "https://files.pythonhosted.org/packages/52/24/155487fefac177d52102e63790c20aa7ad006ddd3d1d8f69b3ebecf9ad25/django-pager-0.1.6.tar.gz" } ], "0.1.7": [ { "comment_text": "", "digests": { "md5": "928744fcb35e1400a1e94a0fba972b44", "sha256": "7650ab690efe5f93db50e8e7381a74f041ac220df2949bf235d4646038eaaf6b" }, "downloads": -1, "filename": "django-pager-0.1.7.tar.gz", "has_sig": false, "md5_digest": "928744fcb35e1400a1e94a0fba972b44", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3023, "upload_time": "2012-10-09T12:42:48", "url": "https://files.pythonhosted.org/packages/37/7e/997e3878a8b005f89108e1ec69583d588597c25f14af543175bc8160f135/django-pager-0.1.7.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "928744fcb35e1400a1e94a0fba972b44", "sha256": "7650ab690efe5f93db50e8e7381a74f041ac220df2949bf235d4646038eaaf6b" }, "downloads": -1, "filename": "django-pager-0.1.7.tar.gz", "has_sig": false, "md5_digest": "928744fcb35e1400a1e94a0fba972b44", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3023, "upload_time": "2012-10-09T12:42:48", "url": "https://files.pythonhosted.org/packages/37/7e/997e3878a8b005f89108e1ec69583d588597c25f14af543175bc8160f135/django-pager-0.1.7.tar.gz" } ] }