{ "info": { "author": "Alejandro Varas", "author_email": "alej0varas@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Framework :: Django", "Intended Audience :: Developers", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2.6", "Topic :: Internet :: WWW/HTTP :: Dynamic Content" ], "description": "=============\n o2o_tagging\n=============\n\n|build status|_\n\n.. |build status| image:: https://api.travis-ci.org/alej0varas/django-o2o_tagging.png?branch=master\n :alt: Build Status\n.. _build status: https://travis-ci.org/alej0varas/django-o2o_tagging\n\nWelcome to the documentation for django-o2o_tagging! Use this app to\ntag objects like you tag your friends on facebook, but using any\nobjects as the tagger, the tagged and the tagged in. Think of a `User`\ntagging a `Friend` in a `Photo` all of them being different models.\n\nQuick start\n-----------\n\n1. Install using pip::\n\n pip install django-o2o_tagging\n\n#. Add o2o_tagging to your INSTALLED_APPS setting like this::\n\n INSTALLED_APPS = (\n ...\n 'o2o_tagging',\n )\n\nUsage\n-----\n\n1. Models\n\n Tag your objects::\n\n ...\n tag = O2OTag.objects.tag(tagger, tagged, tagged_in)\n\n\n Get for tagged in objects::\n\n ...\n tags = O2OTag.objects.for_tagged_in(tagged_in)\n\n Get for tagger objects::\n\n ...\n tags = O2OTag.objects.for_tagger(tagger)\n\n Get for tagged objects::\n\n ...\n tags = O2OTag.objects.for_tagged(tagged)\n\n You can then filter::\n\n ...\n tags.for_tagger(tagger).for_tagged(tagged)\n\n#. URLs\n\n You can add this views to your urls::\n\n ...\n ('^tagging/$', include('o2o_tagging')),\n\n#. Views\n\n o2o_taggin provides two views::\n\n TagCreateView\n\n TagsCreateView\n\n#. Templates\n\n There are two templatetags available\n\n 1. for_tagged_in::\n\n {% for_tagged_in object as tags %}\n\n #. for_tagged_in_nodups::\n\n {% for_tagged_in_nodups object as tags %}\n\n Apply distinct on `tagged_object_id` in order to get only one\n tagged user.\n\nRunning the Tests\n-----------------\n\nYou can run the tests with via::\n\n python setup.py test", "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/alej0varas/django-o2o_tagging", "keywords": null, "license": "GNU General Public License", "maintainer": null, "maintainer_email": null, "name": "django-o2o_tagging", "package_url": "https://pypi.org/project/django-o2o_tagging/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/django-o2o_tagging/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/alej0varas/django-o2o_tagging" }, "release_url": "https://pypi.org/project/django-o2o_tagging/0.2.3/", "requires_dist": null, "requires_python": null, "summary": "Use this app to tag objects like you tag your friends on facebook, but using any objects as the tagger and the tagged. Think of a `User` tagging a `Friend` in a `Photo` all of them being different models.", "version": "0.2.3" }, "last_serial": 790184, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "5ab20bcc76ed09aab21e7cc1242f9e8b", "sha256": "bf3987de5d301c21c5cd7017da191df3e6d6f2f2a9f8b5feff42c6aaf2f09f7e" }, "downloads": -1, "filename": "django_o2o_tagging-0.1.0-py2.6.egg", "has_sig": false, "md5_digest": "5ab20bcc76ed09aab21e7cc1242f9e8b", "packagetype": "bdist_egg", "python_version": "2.6", "requires_python": null, "size": 16178, "upload_time": "2013-01-29T22:16:06", "url": "https://files.pythonhosted.org/packages/ab/78/bef2d343a41ec48ad1e8db9025510e987bc13d7f3be920f9391bf67a389a/django_o2o_tagging-0.1.0-py2.6.egg" }, { "comment_text": "", "digests": { "md5": "9b407cfeb20bb2b58e84a298af1b5101", "sha256": "88c14ed3170530c03c3628b87286469bdc907549b16ba40a8d9de352cc3aaeb0" }, "downloads": -1, "filename": "django_o2o_tagging-0.1.0-py2.7.egg", "has_sig": false, "md5_digest": "9b407cfeb20bb2b58e84a298af1b5101", "packagetype": "bdist_egg", "python_version": "2.7", "requires_python": null, "size": 16122, "upload_time": "2013-01-29T22:15:47", "url": "https://files.pythonhosted.org/packages/2c/23/acee552c08847a7e59083cc1ea556bbaf9f9a873c71aedd513b8062734d0/django_o2o_tagging-0.1.0-py2.7.egg" }, { "comment_text": "", "digests": { "md5": "afe355a28a47c04e69e18246e8e952f1", "sha256": "f2ec1b37d925e1c3fd5f8ad5510c4fac53de7abfff5338d47bc28d9544dfcabf" }, "downloads": -1, "filename": "django-o2o_tagging-0.1.0.tar.gz", "has_sig": false, "md5_digest": "afe355a28a47c04e69e18246e8e952f1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 16656, "upload_time": "2013-01-29T22:18:03", "url": "https://files.pythonhosted.org/packages/0a/2b/8a152e7e46ca9fe02c8cae6732e30bb80dbd3ac8bf6d55e2e9560ad2416a/django-o2o_tagging-0.1.0.tar.gz" } ], "0.2.1": [ { "comment_text": "built for Linux-3.5.7-gentoo-alej0-i686-AMD_Athlon-tm-_X2_Dual-Core_QL-65-with-glibc2.0", "digests": { "md5": "7dbbfc35f89e4a00df3182e23ccc9b07", "sha256": "15ab05fe16670e7692cf1a8388433d32b802a4e0a26aabcc617971b85d368bed" }, "downloads": -1, "filename": "django-o2o_tagging-0.2.1.linux-i686.tar.gz", "has_sig": false, "md5_digest": "7dbbfc35f89e4a00df3182e23ccc9b07", "packagetype": "bdist_dumb", "python_version": "any", "requires_python": null, "size": 15365, "upload_time": "2013-02-02T03:07:57", "url": "https://files.pythonhosted.org/packages/3a/ca/f97e5b9212ecc11d77a8d1ee187babb39fbeda9927227860b667246308af/django-o2o_tagging-0.2.1.linux-i686.tar.gz" }, { "comment_text": "", "digests": { "md5": "8b591b903839323414c612876c864c03", "sha256": "2941e6fdb7970198c3cd7b48c75bc8f773a9bd08fa5bba2195d9f9cb17168376" }, "downloads": -1, "filename": "django-o2o_tagging-0.2.1.tar.gz", "has_sig": false, "md5_digest": "8b591b903839323414c612876c864c03", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 19545, "upload_time": "2013-02-02T03:07:40", "url": "https://files.pythonhosted.org/packages/8b/14/ae8f0d0b25b4c7424eb3f7c290484100442889ec42b219bca0a93c986929/django-o2o_tagging-0.2.1.tar.gz" } ], "0.2.2": [ { "comment_text": "", "digests": { "md5": "9965b9e3435efcef49957f45148dd205", "sha256": "1b272b0313254068ef5ed39516e736de6bd3fe5c19a8a33b1c282ce4c3dd7f40" }, "downloads": -1, "filename": "django-o2o_tagging-0.2.2.tar.gz", "has_sig": false, "md5_digest": "9965b9e3435efcef49957f45148dd205", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 19607, "upload_time": "2013-02-04T22:53:56", "url": "https://files.pythonhosted.org/packages/91/e3/ec4f53c9c60096a357da45d9c5447a3673640cfb70357b2c7a8ed0d057e4/django-o2o_tagging-0.2.2.tar.gz" } ], "0.2.3": [ { "comment_text": "", "digests": { "md5": "f02aaf4b33b76b5ad0b76a8f97b11394", "sha256": "8a900770e2224fd8d48ecdfe50450ae255a2daa8dd2ac015f8d9770b65bf87f5" }, "downloads": -1, "filename": "django-o2o_tagging-0.2.3.tar.gz", "has_sig": false, "md5_digest": "f02aaf4b33b76b5ad0b76a8f97b11394", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 20234, "upload_time": "2013-02-13T03:01:54", "url": "https://files.pythonhosted.org/packages/5a/c0/632820c1e0d392280cda84bd8357ac35137a9732fbf0ae93af89c6650fd9/django-o2o_tagging-0.2.3.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "f02aaf4b33b76b5ad0b76a8f97b11394", "sha256": "8a900770e2224fd8d48ecdfe50450ae255a2daa8dd2ac015f8d9770b65bf87f5" }, "downloads": -1, "filename": "django-o2o_tagging-0.2.3.tar.gz", "has_sig": false, "md5_digest": "f02aaf4b33b76b5ad0b76a8f97b11394", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 20234, "upload_time": "2013-02-13T03:01:54", "url": "https://files.pythonhosted.org/packages/5a/c0/632820c1e0d392280cda84bd8357ac35137a9732fbf0ae93af89c6650fd9/django-o2o_tagging-0.2.3.tar.gz" } ] }