{ "info": { "author": "Michael F. Covington", "author_email": "mfcovington@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Environment :: Web Environment", "Framework :: Django", "Framework :: Django :: 1.7", "Framework :: Django :: 1.8", "Framework :: Django :: 1.9", "Intended Audience :: Developers", "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.2", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4" ], "description": "*********************\ndjango-taggit-helpers\n*********************\n\n``django-taggit-helpers`` makes it easier to work with admin pages of models associated with ``django-taggit`` tags.\n\nSource code is available on GitHub at `mfcovington/django-taggit-helpers `_. Information about ``django-taggit`` is available on `GitHub `_ and `Read the Docs `_.\n\n``django-taggit-helpers`` is compatible with Python 2.7+/3.2+ and Django 1.7+.\n\n.. contents:: :local:\n\nInstallation\n============\n\n**PyPI**\n\n.. code-block:: sh\n\n pip install django-taggit-helpers\n\n**GitHub (development branch)**\n\n.. code-block:: sh\n\n pip install git+http://github.com/mfcovington/django-taggit-helpers.git@develop\n\nConfiguration\n=============\n\nAdd ``taggit_helpers`` to ``INSTALLED_APPS`` in ``settings.py``:\n\n.. code-block:: python\n\n INSTALLED_APPS = (\n ...\n 'taggit',\n 'taggit_helpers',\n )\n\nHelper Classes\n==============\n\n``TaggitCounter``\n-----------------\n\nDisplay (and sort by) number of Taggit tags associated with tagged items.\n\n.. code-block:: python\n\n from taggit_helpers import TaggitCounter\n # For Django 1.9+, use this instead:\n # from taggit_helpers.admin import TaggitCounter\n\n class MyModelAdmin(TaggitCounter, admin.ModelAdmin): # TaggitCounter before ModelAdmin\n list_display = (\n ...\n 'taggit_counter',\n )\n\n*Note:* Currently, the ``TaggableManager()`` field must be named ``tags``.\n\n*Note:* To avoid overcounting, set ``distinct=True`` if further annotating the queryset with ``Count()``:\n\n.. code-block:: python\n\n queryset.annotate(m2m_field_count=Count('m2m_field', distinct=True))\n\n``TaggitListFilter``\n--------------------\n\nFilter records by Taggit tags for the current model only.\nTags are sorted alphabetically by name.\n\n.. code-block:: python\n\n from taggit_helpers import TaggitListFilter\n # For Django 1.9+, use this instead:\n # from taggit_helpers.admin import TaggitListFilter\n\n class MyModelAdmin(admin.ModelAdmin):\n list_filter = [TaggitListFilter]\n\n``TaggitStackedInline``\n-----------------------\n\nAdd stacked inline for Taggit tags to admin.\nTags are sorted alphabetically by name.\n\n.. code-block:: python\n\n from taggit_helpers import TaggitStackedInline\n # For Django 1.9+, use this instead:\n # from taggit_helpers.admin import TaggitStackedInline\n\n class MyModelAdmin(admin.ModelAdmin):\n inlines = [TaggitStackedInline]\n\n``TaggitTabularInline``\n-----------------------\n\nAdd tabular inline for Taggit tags to admin.\nTags are sorted alphabetically by name.\n\n.. code-block:: python\n\n from taggit_helpers import TaggitTabularInline\n # For Django 1.9+, use this instead:\n # from taggit_helpers.admin import TaggitTabularInline\n\n class MyModelAdmin(admin.ModelAdmin):\n inlines = [TaggitTabularInline]\n\nUpgrading existing projects to Django 1.9+\n==========================================\n\nApp loading was refactored in Django 1.9. To make a Django 1.7/1.8 app Django 1.9-compatible with respect to ``django-taggit-helpers``, run the following shell command in your app's directory.\n\n.. code-block:: sh\n\n find . -name '*.py' | xargs perl -i -pe 's/from taggit_helpers import/from taggit_helpers.admin import/'\n\nThanks to `jpic `_ for the `inspiration `_ for this snippet!\n\nIssues\n======\n\nIf you experience any problems or would like to request a feature, please `create an issue `_ on GitHub.\n\n*Version 0.1.4*\n\n\nRevision history\n================\n\n0.1.4 2015-12-04\n\n- Add Django 1.9 compatibility\n\n\n0.1.3 2015-11-30\n\n- Require Python 2.7+/3.2+\n- Add slides from Django SF Meetup lightning talk\n\n\n0.1.2 2015-06-14\n\n- Add Django 1.8 compatibility\n\n\n0.1.1 2015-06-11\n\n- Rename ``taggit_count`` to ``taggit_counter``\n\n\n0.1.0 2015-06-10\n\n- Django admin helper classes for django-taggit tags\n\n - ``TaggitCounter``\n - ``TaggitListFilter``\n - ``TaggitStackedInline``\n - ``TaggitTabularInline``", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/mfcovington/django-taggit-helpers", "keywords": "tags tagging taggit django-taggit", "license": "BSD License", "maintainer": null, "maintainer_email": null, "name": "django-taggit-helpers", "package_url": "https://pypi.org/project/django-taggit-helpers/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/django-taggit-helpers/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/mfcovington/django-taggit-helpers" }, "release_url": "https://pypi.org/project/django-taggit-helpers/0.1.4/", "requires_dist": null, "requires_python": null, "summary": "Django admin helper classes for django-taggit tags", "version": "0.1.4" }, "last_serial": 1847628, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "be06ecf16aef2460eb620fde63081520", "sha256": "27074ff2cbab26e26b2f6e6b28906d805a3fa3c26ede26964e278c00006360d3" }, "downloads": -1, "filename": "django_taggit_helpers-0.1.0-py32-none-any.whl", "has_sig": false, "md5_digest": "be06ecf16aef2460eb620fde63081520", "packagetype": "bdist_wheel", "python_version": "3.4", "requires_python": null, "size": 5547, "upload_time": "2015-06-11T01:04:10", "url": "https://files.pythonhosted.org/packages/25/14/e31c2b19c5fff49031ff52d099460d8add873076f09ebbf73aeae525b786/django_taggit_helpers-0.1.0-py32-none-any.whl" }, { "comment_text": "", "digests": { "md5": "68a7291729698b4cb1aab06a863c1ede", "sha256": "6213b5d36139881b0272415debe7dc8b3ff6b56b6eeee7176ecaccf6e2d8d053" }, "downloads": -1, "filename": "django-taggit-helpers-0.1.0.tar.gz", "has_sig": false, "md5_digest": "68a7291729698b4cb1aab06a863c1ede", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4286, "upload_time": "2015-06-11T01:03:58", "url": "https://files.pythonhosted.org/packages/44/5b/e1830f8a3ef2bf3c461a02d6b161132b0bc6bd81866ce4029b66a0d8029e/django-taggit-helpers-0.1.0.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "2cac896c2de9e29b66c2b5f144376f40", "sha256": "bdc052fa6ae5d13f060ca4ef91e7f79590565d0b3c4fbd42505dd0f533e65bac" }, "downloads": -1, "filename": "django_taggit_helpers-0.1.1-py32-none-any.whl", "has_sig": false, "md5_digest": "2cac896c2de9e29b66c2b5f144376f40", "packagetype": "bdist_wheel", "python_version": "3.4", "requires_python": null, "size": 5737, "upload_time": "2015-06-12T02:34:50", "url": "https://files.pythonhosted.org/packages/3a/fe/8821e437d4797c0787c9b9cebbea90ef497004d3ac5989caeafc87ce8019/django_taggit_helpers-0.1.1-py32-none-any.whl" }, { "comment_text": "", "digests": { "md5": "638add3a3aa559b82a3621c1f2d22dc3", "sha256": "1ae6d8fb7fb315b98f1672f11046947ff07e3382e09028af5ca83d974aad1360" }, "downloads": -1, "filename": "django-taggit-helpers-0.1.1.tar.gz", "has_sig": false, "md5_digest": "638add3a3aa559b82a3621c1f2d22dc3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4426, "upload_time": "2015-06-12T02:34:46", "url": "https://files.pythonhosted.org/packages/1e/a8/121490f3f60353e8d163a73c3a524853c76e7ddb3e2a9759c90f1d6ea3be/django-taggit-helpers-0.1.1.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "e6565cfe83c5c0e66d593e8008981a81", "sha256": "d8ba596a8d985ef5d53dab798065db69d5fd58c14ac33317d971fd49b4310b79" }, "downloads": -1, "filename": "django_taggit_helpers-0.1.2-py32-none-any.whl", "has_sig": false, "md5_digest": "e6565cfe83c5c0e66d593e8008981a81", "packagetype": "bdist_wheel", "python_version": "3.4", "requires_python": null, "size": 5775, "upload_time": "2015-06-14T19:05:53", "url": "https://files.pythonhosted.org/packages/4b/f4/142f0a706a380065dd0304583d32847a47d1be793159a5c3cba39f14d9ef/django_taggit_helpers-0.1.2-py32-none-any.whl" }, { "comment_text": "", "digests": { "md5": "8eac9c5861e09f53105b4ca38a5efed6", "sha256": "9add815362b6d32209b62cd242ce715dde440556960c24219c6b5390a21a4133" }, "downloads": -1, "filename": "django-taggit-helpers-0.1.2.tar.gz", "has_sig": false, "md5_digest": "8eac9c5861e09f53105b4ca38a5efed6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4456, "upload_time": "2015-06-14T19:05:49", "url": "https://files.pythonhosted.org/packages/63/48/a05b33c9802394efd572af4a9f014bd589851d65407b05045723642e19a4/django-taggit-helpers-0.1.2.tar.gz" } ], "0.1.3": [ { "comment_text": "", "digests": { "md5": "5a15ef25533779083efa1fc038f7c6bc", "sha256": "65e110d8147017689aa4d68b07251810ec7b6bcd8ac7933d9eeedf2c9aaadbd5" }, "downloads": -1, "filename": "django_taggit_helpers-0.1.3-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "5a15ef25533779083efa1fc038f7c6bc", "packagetype": "bdist_wheel", "python_version": "3.4", "requires_python": null, "size": 5927, "upload_time": "2015-11-30T19:41:43", "url": "https://files.pythonhosted.org/packages/85/b9/920b2f5e58cf34b7d15c234d630f3a38ad0fd2f5ea45bce2b5e4478fa77f/django_taggit_helpers-0.1.3-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "e30f37dfd3f8e490a18b618780a8fd44", "sha256": "4cec48596565e00008e9beca11cd20898089bb42cc06ecee92056717d0bfe829" }, "downloads": -1, "filename": "django-taggit-helpers-0.1.3.tar.gz", "has_sig": false, "md5_digest": "e30f37dfd3f8e490a18b618780a8fd44", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4591, "upload_time": "2015-11-30T19:41:34", "url": "https://files.pythonhosted.org/packages/57/19/3d5a5762d8216df6bbe7324e7aeec1cbbc915f20478689232d73f4edbdef/django-taggit-helpers-0.1.3.tar.gz" } ], "0.1.4": [ { "comment_text": "", "digests": { "md5": "05a6f4dd2dd6de1185bdb24817fba49f", "sha256": "240a0c2281807d9c356d50cbaf176bcaffdb3a039acc72af18223e78ab1703e4" }, "downloads": -1, "filename": "django_taggit_helpers-0.1.4-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "05a6f4dd2dd6de1185bdb24817fba49f", "packagetype": "bdist_wheel", "python_version": "3.4", "requires_python": null, "size": 6899, "upload_time": "2015-12-05T06:36:10", "url": "https://files.pythonhosted.org/packages/89/75/c9814bd50dca05cb7b4ef0abc47d2a4d3993a2863e45b112d09b509708bf/django_taggit_helpers-0.1.4-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "78efd36018f0fd01d53e3757573fd7d5", "sha256": "d988c06f0220b47c6f2eaef1216471305356adb6c34cfc920acc2296686e6db5" }, "downloads": -1, "filename": "django-taggit-helpers-0.1.4.tar.gz", "has_sig": false, "md5_digest": "78efd36018f0fd01d53e3757573fd7d5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5073, "upload_time": "2015-12-05T06:36:04", "url": "https://files.pythonhosted.org/packages/6b/7a/b0bb9007b3ca0447498d01b6d298a53daac5042a656aa5c6645961a2c65c/django-taggit-helpers-0.1.4.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "05a6f4dd2dd6de1185bdb24817fba49f", "sha256": "240a0c2281807d9c356d50cbaf176bcaffdb3a039acc72af18223e78ab1703e4" }, "downloads": -1, "filename": "django_taggit_helpers-0.1.4-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "05a6f4dd2dd6de1185bdb24817fba49f", "packagetype": "bdist_wheel", "python_version": "3.4", "requires_python": null, "size": 6899, "upload_time": "2015-12-05T06:36:10", "url": "https://files.pythonhosted.org/packages/89/75/c9814bd50dca05cb7b4ef0abc47d2a4d3993a2863e45b112d09b509708bf/django_taggit_helpers-0.1.4-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "78efd36018f0fd01d53e3757573fd7d5", "sha256": "d988c06f0220b47c6f2eaef1216471305356adb6c34cfc920acc2296686e6db5" }, "downloads": -1, "filename": "django-taggit-helpers-0.1.4.tar.gz", "has_sig": false, "md5_digest": "78efd36018f0fd01d53e3757573fd7d5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5073, "upload_time": "2015-12-05T06:36:04", "url": "https://files.pythonhosted.org/packages/6b/7a/b0bb9007b3ca0447498d01b6d298a53daac5042a656aa5c6645961a2c65c/django-taggit-helpers-0.1.4.tar.gz" } ] }