{ "info": { "author": "Mike Yumatov", "author_email": "yumatov@trilan.ru", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Framework :: Django", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Operating System :: OS Independent", "Programming Language :: Python", "Topic :: Internet :: WWW/HTTP" ], "description": "===================\ndjango-intellipages\n===================\n\nThis app provides only one tiny template filter for now. It allows you to\noutput page navigation like this::\n\n 1 ... 6 7 _8_ 9 10 ... 32\n\n(where ``8`` is the current page number).\n\nUsage\n=====\n\nAdd ``intellipages`` to ``INSTALLED_APPS``. In your templates do::\n\n {% load intellipages %}\n \n {% for p in page|intellipages %}\n {% if p %}\n {% ifequal p page.number %}\n {{ p }}\n {% else %}\n {{ p }}\n {% endifequal %}\n {% else %}\n ...\n {% endif %}\n {% endfor %}\n\n(where ``page`` is a ``django.core.paginator.Page`` instance).\n\nOr::\n\n {% load intellipages %}\n \n {% for p in paginator|intellipages:number %}\n {% if p %}\n {% ifequal p number %}\n {{ p }}\n {% else %}\n {{ p }}\n {% endifequal %}\n {% else %}\n ...\n {% endif %}\n {% endfor %}\n\n(where ``page`` is a ``django.core.paginator.Paginator`` instance, and\n``number`` is a variable of type ``int``).", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://github.com/trilan/django-intellipages", "keywords": null, "license": "BSD", "maintainer": null, "maintainer_email": null, "name": "django-intellipages", "package_url": "https://pypi.org/project/django-intellipages/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/django-intellipages/", "project_urls": { "Download": "UNKNOWN", "Homepage": "http://github.com/trilan/django-intellipages" }, "release_url": "https://pypi.org/project/django-intellipages/0.1/", "requires_dist": null, "requires_python": null, "summary": "This app provides one tiny but useful template filter for page navigation", "version": "0.1" }, "last_serial": 789885, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "956a03323baa58abbd11b2f050ace77e", "sha256": "0165ca094a25f3a1e9f08400155c1334193266105c1682887c8d06f5dd4c259d" }, "downloads": -1, "filename": "django-intellipages-0.1.tar.gz", "has_sig": false, "md5_digest": "956a03323baa58abbd11b2f050ace77e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3268, "upload_time": "2010-09-06T16:25:39", "url": "https://files.pythonhosted.org/packages/6d/e3/5c4dc89371e8c6c604a71887c0813742a56e972ff46429e37727a809f859/django-intellipages-0.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "956a03323baa58abbd11b2f050ace77e", "sha256": "0165ca094a25f3a1e9f08400155c1334193266105c1682887c8d06f5dd4c259d" }, "downloads": -1, "filename": "django-intellipages-0.1.tar.gz", "has_sig": false, "md5_digest": "956a03323baa58abbd11b2f050ace77e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3268, "upload_time": "2010-09-06T16:25:39", "url": "https://files.pythonhosted.org/packages/6d/e3/5c4dc89371e8c6c604a71887c0813742a56e972ff46429e37727a809f859/django-intellipages-0.1.tar.gz" } ] }