{ "info": { "author": "Basil Shubin", "author_email": "basil.shubin@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Environment :: Web Environment", "Framework :: Django", "Intended Audience :: Developers", "License :: OSI Approved :: MIT 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.4", "Topic :: Internet :: WWW/HTTP", "Topic :: Internet :: WWW/HTTP :: Dynamic Content", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "django-sitecats-helpers\n=======================\n\nDjango admin helper classes for django-sitecats_ categories.\n\nAuthored by `Basil Shubin `_, inspired by django-taggit-helpers_\n\n.. image:: https://img.shields.io/pypi/v/django-sitecats-helpers.svg\n :target: https://pypi.python.org/pypi/django-sitecats-helpers/\n\n.. image:: https://img.shields.io/pypi/dm/django-sitecats-helpers.svg\n :target: https://pypi.python.org/pypi/django-sitecats-helpers/\n\n.. image:: https://img.shields.io/github/license/bashu/django-sitecats-helpers.svg\n :target: https://pypi.python.org/pypi/django-sitecats-helpers/\n\nInstallation\n============\n\nFirst install the module, preferably in a virtual environment. It can be installed from PyPI:\n\n.. code-block:: shell\n\n pip install django-sitecats-helpers\n\n\nConfiguration\n-------------\n\nFirst make sure the project is configured for django-sitecats_.\n\nThen add the following settings:\n\n.. code-block:: python\n\n INSTALLED_APPS += (\n 'sitecats_helpers',\n )\n\n\nUsage\n=====\n\nCategoryCounter\n---------------\n\nDisplay (and sort by) number of categories associated with objects.\n\n.. code-block:: python\n\n from sitecats_helpers import CategoryCounter\n # For Django 1.9+, use this instead:\n # from sitecats_helpers.admin import CategoryCounter\n\n class MyModelAdmin(CategoryCounter, admin.ModelAdmin): # CategoryCounter before ModelAdmin\n list_display = (\n ...\n 'category_counter',\n )\n\nCategoryListFilter\n------------------\n\nFilter records by categories for the current model only.\n\n.. code-block:: python\n\n from sitecats_helpers import CategoryListFilter\n # For Django 1.9+, use this instead:\n # from sitecats_helpers.admin import CategoryListFilter\n\n class MyModelAdmin(admin.ModelAdmin):\n list_filter = [CategoryListFilter]\n\nCategoryStackedInline\n---------------------\n\nAdd stacked inline for categories to admin.\n\n.. code-block:: python\n\n from sitecats_helpers import CategoryStackedInline\n # For Django 1.9+, use this instead:\n # from sitecats_helpers.admin import CategoryStackedInline\n\n class MyModelAdmin(admin.ModelAdmin):\n inlines = [CategoryStackedInline]\n\nCategoryTabularInline\n---------------------\n\nAdd tabular inline for categorise to admin.\n\n.. code-block:: python\n\n from sitecats_helpers import CategoryTabularInline\n # For Django 1.9+, use this instead:\n # from sitecats_helpers.admin import CategoryTabularInline\n\n class MyModelAdmin(admin.ModelAdmin):\n inlines = [CategoryTabularInline]\n\nContributing\n------------\n\nIf you like this module, forked it, or would like to improve it, please let us know!\nPull requests are welcome too. :-)\n\n.. _django-sitecats: https://github.com/idlesign/django-sitecats\n.. _django-taggit-helpers: https://github.com/mfcovington/django-taggit-helpers\n", "description_content_type": "", "docs_url": null, "download_url": "https://github.com/bashu/django-sitecats-helpers/zipball/master", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/bashu/django-sitecats-helpers", "keywords": "", "license": "MIT License", "maintainer": "", "maintainer_email": "", "name": "django-sitecats-helpers", "package_url": "https://pypi.org/project/django-sitecats-helpers/", "platform": "", "project_url": "https://pypi.org/project/django-sitecats-helpers/", "project_urls": { "Download": "https://github.com/bashu/django-sitecats-helpers/zipball/master", "Homepage": "https://github.com/bashu/django-sitecats-helpers" }, "release_url": "https://pypi.org/project/django-sitecats-helpers/0.0.3/", "requires_dist": null, "requires_python": "", "summary": "django admin helper classes for django-sitecats categories", "version": "0.0.3" }, "last_serial": 4993547, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "f5d37ea4fc66776901c502b1197544cb", "sha256": "e52c33511bd34f30f24cd803d5b40433230b2891f947ca889a0d07d9484c7ee5" }, "downloads": -1, "filename": "django_sitecats_helpers-0.0.1-py2.py3-none-any.whl", "has_sig": true, "md5_digest": "f5d37ea4fc66776901c502b1197544cb", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 7523, "upload_time": "2016-09-19T09:06:18", "url": "https://files.pythonhosted.org/packages/43/fc/007523f112624a2b0c3df8ae4a65accf75c1da48dd85052e20654296c5cd/django_sitecats_helpers-0.0.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "fbec7879f1f1e4f5a1f90d009cf4d86f", "sha256": "99a1fc45b22c38034da83def62fd93360464449dceb8fcc8a93d665e2c66218b" }, "downloads": -1, "filename": "django-sitecats-helpers-0.0.1.tar.gz", "has_sig": true, "md5_digest": "fbec7879f1f1e4f5a1f90d009cf4d86f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5408, "upload_time": "2016-09-19T09:06:11", "url": "https://files.pythonhosted.org/packages/cc/5a/94a2d90f054083cc15e7da70623ed06cda3ed1a2bd83c86754a37bd968b0/django-sitecats-helpers-0.0.1.tar.gz" } ], "0.0.2": [ { "comment_text": "", "digests": { "md5": "fbaba72f49d9e5906de07cb096ab87af", "sha256": "f3ba7b74cb1de418f454c2c83a45ba822618cfb328c701c0142a74323db63d38" }, "downloads": -1, "filename": "django_sitecats_helpers-0.0.2-py2.py3-none-any.whl", "has_sig": true, "md5_digest": "fbaba72f49d9e5906de07cb096ab87af", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 7515, "upload_time": "2016-09-20T03:55:01", "url": "https://files.pythonhosted.org/packages/5f/e6/cd2efbf46346e3b21d7ed12992565ee086f16f9e4ac65972469cfab851a3/django_sitecats_helpers-0.0.2-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "e62ea6699d0d8a28ff73c446f69e80e0", "sha256": "0f7071103d10c14dff4b39a818f19798c41bf55c87d5cda7d65522acb46bcf2a" }, "downloads": -1, "filename": "django-sitecats-helpers-0.0.2.tar.gz", "has_sig": true, "md5_digest": "e62ea6699d0d8a28ff73c446f69e80e0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5400, "upload_time": "2016-09-20T03:54:54", "url": "https://files.pythonhosted.org/packages/8c/96/270e9cfc067bcc9b60beed656aeb121bb21fbbddc0e3e0034b27dfe30821/django-sitecats-helpers-0.0.2.tar.gz" } ], "0.0.3": [ { "comment_text": "", "digests": { "md5": "2b6a2fd3ee8783ab42bbffff3ef993e8", "sha256": "93f5dea15b0073c29ca42cfd6cc3a03a6dcc4698ef5bf0c145798ec1ddace07c" }, "downloads": -1, "filename": "django_sitecats_helpers-0.0.3-py2.py3-none-any.whl", "has_sig": true, "md5_digest": "2b6a2fd3ee8783ab42bbffff3ef993e8", "packagetype": "bdist_wheel", "python_version": "3.7", "requires_python": null, "size": 5473, "upload_time": "2019-03-27T15:51:25", "url": "https://files.pythonhosted.org/packages/9a/ed/3834118525cca9553dd42ac42e2e9964e8d477339551ba2349129d83f090/django_sitecats_helpers-0.0.3-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "8460992b6cdbce514d7e53bbf2da8fc7", "sha256": "4fd2757393b6da44cf4b584e458f3d83557a695faf44bcdd6060e85db447d4a2" }, "downloads": -1, "filename": "django-sitecats-helpers-0.0.3.tar.gz", "has_sig": true, "md5_digest": "8460992b6cdbce514d7e53bbf2da8fc7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4860, "upload_time": "2019-03-27T15:51:23", "url": "https://files.pythonhosted.org/packages/35/96/9fc532ec7e406dd4ea4f9937ffefe539ee4601bba93ed8fee6fee6953304/django-sitecats-helpers-0.0.3.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "2b6a2fd3ee8783ab42bbffff3ef993e8", "sha256": "93f5dea15b0073c29ca42cfd6cc3a03a6dcc4698ef5bf0c145798ec1ddace07c" }, "downloads": -1, "filename": "django_sitecats_helpers-0.0.3-py2.py3-none-any.whl", "has_sig": true, "md5_digest": "2b6a2fd3ee8783ab42bbffff3ef993e8", "packagetype": "bdist_wheel", "python_version": "3.7", "requires_python": null, "size": 5473, "upload_time": "2019-03-27T15:51:25", "url": "https://files.pythonhosted.org/packages/9a/ed/3834118525cca9553dd42ac42e2e9964e8d477339551ba2349129d83f090/django_sitecats_helpers-0.0.3-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "8460992b6cdbce514d7e53bbf2da8fc7", "sha256": "4fd2757393b6da44cf4b584e458f3d83557a695faf44bcdd6060e85db447d4a2" }, "downloads": -1, "filename": "django-sitecats-helpers-0.0.3.tar.gz", "has_sig": true, "md5_digest": "8460992b6cdbce514d7e53bbf2da8fc7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4860, "upload_time": "2019-03-27T15:51:23", "url": "https://files.pythonhosted.org/packages/35/96/9fc532ec7e406dd4ea4f9937ffefe539ee4601bba93ed8fee6fee6953304/django-sitecats-helpers-0.0.3.tar.gz" } ] }