{ "info": { "author": "Arpaso", "author_email": "arvid@arpaso.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Framework :: Django", "Intended Audience :: Developers", "Intended Audience :: System Administrators", "Operating System :: OS Independent", "Topic :: Software Development" ], "description": "Rating of content with stars UI\n===============================\n\nUsage\n=====\n\n**models.py**::\n\n from django.db import models\n from djangoratings.fields import RatingField\n from rating.models import RatingBase\n\n\n class MyModel(models.Model, RatingBase):\n ...\n rating = RatingField(range=10, allow_anonymous=True, can_change_vote=True)\n rating_field_names = ('rating',)\n\n**settings.py**::\n\n RATINGS_VOTES_PER_IP = 3 # or whatever\n\n**urls.py**::\n\n (r'^stars/', include('rating.urls'))\n\n**template.html**::\n\n {% show_stars object \"rating\" 0 %}\n\n.. NOTE:: **show_stars(context, obj, field_name='rating', big_star=True, disabled=False, extra_class='', extra_success='')**\n \n show_stars template tag displays clickable stars to vote for content.\n\nLicense note\n============\n\nThis application contains static files from:\n\n* jquery.ui.stars (http://orkans-tmp.22web.net/star_rating/); \n* jquery.ui.core and jquery.ui.widget (http://jqueryui.com/)\n\nWritten by the development team of Arpaso company: http://arpaso.com", "description_content_type": null, "docs_url": null, "download_url": "http://github.com/Arpaso/stars-rating/tarball/0.1", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://github.com/Arpaso/stars-rating", "keywords": "", "license": "UNKNOWN", "maintainer": "", "maintainer_email": "", "name": "stars-rating", "package_url": "https://pypi.org/project/stars-rating/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/stars-rating/", "project_urls": { "Download": "http://github.com/Arpaso/stars-rating/tarball/0.1", "Homepage": "http://github.com/Arpaso/stars-rating" }, "release_url": "https://pypi.org/project/stars-rating/0.1/", "requires_dist": null, "requires_python": null, "summary": "Django application to rate objects & stars UI", "version": "0.1" }, "last_serial": 835603, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "54b7caf658d00386e4de83c59546efc9", "sha256": "d0cc01dfb4fccc3000df1718ae710b7129de545b8940443a9a0b955c96a8a5b3" }, "downloads": -1, "filename": "stars-rating-0.1.tar.gz", "has_sig": false, "md5_digest": "54b7caf658d00386e4de83c59546efc9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 27535, "upload_time": "2013-08-08T11:06:27", "url": "https://files.pythonhosted.org/packages/94/b4/d3912cef2ad80b737e20cab3f2e338a24cef0fe64ca304feed5c82962b37/stars-rating-0.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "54b7caf658d00386e4de83c59546efc9", "sha256": "d0cc01dfb4fccc3000df1718ae710b7129de545b8940443a9a0b955c96a8a5b3" }, "downloads": -1, "filename": "stars-rating-0.1.tar.gz", "has_sig": false, "md5_digest": "54b7caf658d00386e4de83c59546efc9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 27535, "upload_time": "2013-08-08T11:06:27", "url": "https://files.pythonhosted.org/packages/94/b4/d3912cef2ad80b737e20cab3f2e338a24cef0fe64ca304feed5c82962b37/stars-rating-0.1.tar.gz" } ] }