{ "info": { "author": "Igor `idle sign` Starikov", "author_email": "idlesign@yandex.ru", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "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.5", "Programming Language :: Python :: 3.6" ], "description": "django-siteflags\n================\nhttps://github.com/idlesign/django-siteflags\n\n.. image:: https://idlesign.github.io/lbc/py2-lbc.svg\n :target: https://idlesign.github.io/lbc/\n :alt: LBC Python 2\n\n----\n\n.. image:: https://img.shields.io/pypi/v/django-siteflags.svg\n :target: https://pypi.python.org/pypi/django-siteflags\n\n.. image:: https://img.shields.io/pypi/l/django-siteflags.svg\n :target: https://pypi.python.org/pypi/django-siteflags\n\n.. image:: https://img.shields.io/coveralls/idlesign/django-siteflags/master.svg\n :target: https://coveralls.io/r/idlesign/django-siteflags\n\n.. image:: https://img.shields.io/travis/idlesign/django-siteflags/master.svg\n :target: https://travis-ci.org/idlesign/django-siteflags\n\n.. image:: https://landscape.io/github/idlesign/django-siteflags/master/landscape.svg?style=flat\n :target: https://landscape.io/github/idlesign/django-siteflags/master\n\n\nDescription\n-----------\n\n*Reusable application for Django allowing users to flag/bookmark site objects*\n\nSo you want a user to be able to put some flags on certain site entities.\n\nLet's say you need a kind of bookmark powered service, or a site where content is flagged and moderated, or a simplified rating system or something similar.\n\nInherit you model from **siteflags.models.ModelWithFlag** and you're almost done.\n\nLike that:\n\n.. code-block:: python\n\n # myapp/models.py\n from siteflags.models import ModelWithFlag\n\n\n class Article(ModelWithFlag):\n\n ... # Some model fields here.\n\n\nAnd like so:\n\n.. code-block:: python\n\n # myapp/views.py\n\n from django.shortcuts import get_object_or_404\n from .models import Article\n\n\n def article_details(request, id):\n\n article = get_object_or_404(Article, pk=id)\n\n ...\n\n # Now a user adds this article to his bookmarks.\n article.set_flag(request.user)\n\n ...\n\n\nQuite simple.\n\n\nDocumentation\n-------------\n\nhttp://django-siteflags.readthedocs.org/\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/idlesign/django-siteflags", "keywords": "", "license": "BSD 3-Clause License", "maintainer": "", "maintainer_email": "", "name": "django-siteflags", "package_url": "https://pypi.org/project/django-siteflags/", "platform": "", "project_url": "https://pypi.org/project/django-siteflags/", "project_urls": { "Homepage": "https://github.com/idlesign/django-siteflags" }, "release_url": "https://pypi.org/project/django-siteflags/1.0.0/", "requires_dist": null, "requires_python": "", "summary": "Reusable application for Django allowing users to flag/bookmark site objects", "version": "1.0.0" }, "last_serial": 4702818, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "9847834730cc02730b402cf417b17c9f", "sha256": "2e37b109109d0c59048ee2601b171aeac774fcdbeacd7aa21bdc33729aca0bdf" }, "downloads": -1, "filename": "django-siteflags-0.1.0.tar.gz", "has_sig": false, "md5_digest": "9847834730cc02730b402cf417b17c9f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 14475, "upload_time": "2014-08-04T15:04:43", "url": "https://files.pythonhosted.org/packages/ba/02/74285e4bafddf4d4301b8e49d716c4ba569104985b0fee1482be6a198afd/django-siteflags-0.1.0.tar.gz" } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "66aa580040eedb26e2c9eef96378de63", "sha256": "c27359bda932b9dc9012a32eb15045c1e5246f00f387f1341465d4ee281fae92" }, "downloads": -1, "filename": "django-siteflags-0.2.0.tar.gz", "has_sig": false, "md5_digest": "66aa580040eedb26e2c9eef96378de63", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 15804, "upload_time": "2014-09-02T09:13:00", "url": "https://files.pythonhosted.org/packages/02/63/569b8847f292f5731e1cc3c244736a966a714b7a10959ab54ae3e34c7c10/django-siteflags-0.2.0.tar.gz" } ], "0.3.0": [ { "comment_text": "", "digests": { "md5": "da46dbfa1be2dca9ceef6304f0dc620f", "sha256": "8d9a391deadc761bf3be7d58c9ec4ab11e3d46cf0e632c7a5fda6e44ef897c63" }, "downloads": -1, "filename": "django-siteflags-0.3.0.tar.gz", "has_sig": false, "md5_digest": "da46dbfa1be2dca9ceef6304f0dc620f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 16565, "upload_time": "2014-09-08T07:39:58", "url": "https://files.pythonhosted.org/packages/a4/c6/b29e7d2f1352c62b8684d995d197368237f46a346968f5de78dea7d4bf58/django-siteflags-0.3.0.tar.gz" } ], "0.4.0": [ { "comment_text": "", "digests": { "md5": "50b9d32e4da247f270b57485845c1f3b", "sha256": "60f3c349a3d937da50942dacfd4b5e0fe818a7e9c3582a450d28bfffd07fdad3" }, "downloads": -1, "filename": "django-siteflags-0.4.0.tar.gz", "has_sig": false, "md5_digest": "50b9d32e4da247f270b57485845c1f3b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 17034, "upload_time": "2015-06-17T14:25:35", "url": "https://files.pythonhosted.org/packages/ba/c1/f515ab2a0a8779ef1d2faec3566c243352676407b48482fb5e139b126508/django-siteflags-0.4.0.tar.gz" } ], "0.4.1": [ { "comment_text": "", "digests": { "md5": "e7938eefc6e1b11f62f86e85fb57a97d", "sha256": "ff0170a9894587c18e0f2f5084202a8ef85ee0d47e1ff4fdd2a70a20e3fd85e3" }, "downloads": -1, "filename": "django-siteflags-0.4.1.tar.gz", "has_sig": false, "md5_digest": "e7938eefc6e1b11f62f86e85fb57a97d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 17120, "upload_time": "2015-12-23T12:37:36", "url": "https://files.pythonhosted.org/packages/1f/cd/a84972ffed2717b7d64a224f5ff210938bd77207db60020d58a13021962d/django-siteflags-0.4.1.tar.gz" } ], "0.4.2": [ { "comment_text": "", "digests": { "md5": "f433ae9f4c3c2e02d4f83d9cbb5a21bf", "sha256": "8404e833f583a72384dcaeef456d6bf90e2129e0614eb70fe4f8712be7a44d66" }, "downloads": -1, "filename": "django_siteflags-0.4.2-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "f433ae9f4c3c2e02d4f83d9cbb5a21bf", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 14486, "upload_time": "2016-12-18T11:14:53", "url": "https://files.pythonhosted.org/packages/85/c7/08460e575a0f328ccd149ff60e53af2bfe098b68a65022bd28c3cc736eba/django_siteflags-0.4.2-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "4a1927c48632e410381ae6373fc6a319", "sha256": "b15ec3a10a1ae9cb814c312007526a21a5600561632bf51e458bfa5636ddf77a" }, "downloads": -1, "filename": "django-siteflags-0.4.2.tar.gz", "has_sig": false, "md5_digest": "4a1927c48632e410381ae6373fc6a319", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 17199, "upload_time": "2016-12-18T11:14:51", "url": "https://files.pythonhosted.org/packages/f0/af/8b1bda16a701afc002dedf158e44513299e234fd0327d01c10b968ff5647/django-siteflags-0.4.2.tar.gz" } ], "0.5.0": [ { "comment_text": "", "digests": { "md5": "4cacd152ee05daadb0c846ba3389f0b4", "sha256": "ff2e8df6d0df86dffe3805fa03e0e686bb7e6e811946fc09b7aa43f5b95f8d6d" }, "downloads": -1, "filename": "django_siteflags-0.5.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "4cacd152ee05daadb0c846ba3389f0b4", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 13028, "upload_time": "2017-12-16T03:41:55", "url": "https://files.pythonhosted.org/packages/9c/a7/65a3b007db935fb5c7f5930711426dc5e6ef7ede938423cf5647e0d44bc6/django_siteflags-0.5.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "9b1334b157b83792aa0d150486c06a92", "sha256": "b02e7372977a7e332c338fe9b92dbb1ded3823df7458e7eb3e6c1531a35dee92" }, "downloads": -1, "filename": "django-siteflags-0.5.0.tar.gz", "has_sig": false, "md5_digest": "9b1334b157b83792aa0d150486c06a92", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 16046, "upload_time": "2017-12-16T03:41:52", "url": "https://files.pythonhosted.org/packages/24/b0/dc0775af591f4de9ff144687c8fca26f42111bde48a4813a32cdead6325e/django-siteflags-0.5.0.tar.gz" } ], "1.0.0": [ { "comment_text": "", "digests": { "md5": "d2dead3dad88c48ac1224265b096f14c", "sha256": "a3c679ab6ac11edabf80d4796fd7aeb2b109aa2adb45e09bdd3c1441b237fdb9" }, "downloads": -1, "filename": "django_siteflags-1.0.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "d2dead3dad88c48ac1224265b096f14c", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 12720, "upload_time": "2019-01-16T11:20:59", "url": "https://files.pythonhosted.org/packages/98/6c/72949bc3123be276a650e5a9f496bb584e75b6e43d7521a0d632341f2955/django_siteflags-1.0.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "c90b62ba7841cc39e5503d48959b9a43", "sha256": "417ebfc11709dfa45f680f85778e5f9232ac3b0b46af0e5ccffb714751332b29" }, "downloads": -1, "filename": "django-siteflags-1.0.0.tar.gz", "has_sig": false, "md5_digest": "c90b62ba7841cc39e5503d48959b9a43", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 16089, "upload_time": "2019-01-16T11:20:56", "url": "https://files.pythonhosted.org/packages/1c/df/ff8f1e3dcc58057e535fb624c02b838e33be7b5e903770182d19cd0e746f/django-siteflags-1.0.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "d2dead3dad88c48ac1224265b096f14c", "sha256": "a3c679ab6ac11edabf80d4796fd7aeb2b109aa2adb45e09bdd3c1441b237fdb9" }, "downloads": -1, "filename": "django_siteflags-1.0.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "d2dead3dad88c48ac1224265b096f14c", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 12720, "upload_time": "2019-01-16T11:20:59", "url": "https://files.pythonhosted.org/packages/98/6c/72949bc3123be276a650e5a9f496bb584e75b6e43d7521a0d632341f2955/django_siteflags-1.0.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "c90b62ba7841cc39e5503d48959b9a43", "sha256": "417ebfc11709dfa45f680f85778e5f9232ac3b0b46af0e5ccffb714751332b29" }, "downloads": -1, "filename": "django-siteflags-1.0.0.tar.gz", "has_sig": false, "md5_digest": "c90b62ba7841cc39e5503d48959b9a43", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 16089, "upload_time": "2019-01-16T11:20:56", "url": "https://files.pythonhosted.org/packages/1c/df/ff8f1e3dcc58057e535fb624c02b838e33be7b5e903770182d19cd0e746f/django-siteflags-1.0.0.tar.gz" } ] }