{
"info": {
"author": "Luis Zarate",
"author_email": "luis.zarate@solvosoft.com",
"bugtrack_url": null,
"classifiers": [
"Development Status :: 4 - Beta",
"Environment :: Web Environment",
"Framework :: Django",
"Framework :: Django :: 1.8",
"Framework :: Django :: 1.9",
"Intended Audience :: Developers",
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3.5",
"Topic :: Internet :: WWW/HTTP",
"Topic :: Internet :: WWW/HTTP :: Dynamic Content",
"Topic :: Software Development :: Libraries :: Python Modules"
],
"description": "djangocms-votes\n=================\n\nDjango cms comments, and rate system with stats\n\n\nInstallation\n=================\n\nThis apps suppose you have django CMS installed and well configurated.\n\n.. code:: bash\n\n\t$ pip install djangocms-votes\n\nAdd *djcms_votes* and django_ajax to your INSTALLED_APPS\n\n.. code:: python\n\n\tINSTALLED_APPS = [\n\t\t... \n\t\t'djcms_votes',\n\t\t'django_ajax',\n\t\t'ajax_select',\n\t\t'aldryn_newsblog',\n\t]\n\nTheoretically aldryn_newsblog is not need, but I developed thinking in it, and I do my test with this app installed\n\nSet email per comment notifications\n\n.. code:: python\n\n\tCOMMENT_EMAIL_NOTIFICATION = ['myemail@example.com']\n\n\nConfigure yours urls.py\n=========================\n.. code:: python\n\n\tfrom ajax_select import urls as ajax_select_urls\n\turlpatterns = [\n\t\t...\n\t\turl(r'^votes/', include('djcms_votes.urls')),\n\t\turl(r'^ajax_select/', include(ajax_select_urls)),\n\t\t]\n\nit's also possible to include as url list for django>=1.10 using djcms_votes.urls.urlpatterns\n\nif you need a login view include \n\n.. code:: python\n\n\tfrom django.contrib.auth import views\n\tfrom djcms_votes.forms import LoginForm\n\turlpatterns = [\n\t\t...\n\t\turl(r'^accounts/login/$', views.login,\n \t{'template_name': 'djcms_votes/login.html',\n \t\t'authentication_form': LoginForm}, name=\"login\"),\n\t]\n\nMigrations\n============\n\nRun migrations\n\n.. code:: bash\n\n\t$ python manage.py migrate\n\nInclude js requirements in html \n=======================================\n\nDjango ajax has a especial requirement that force to include js lib in your template, so \nyou can add this to your base template\n\n.. code:: html\n\n\t{% load staticfiles %}\n\nInclude jquery, you need to download from cdn o from official page and include in your static folder\n\n.. code:: html\n\n\t\n\nadd before jquery those lines\n\n.. code:: html\n\n\t\n\t\n\nUse mode\n==================\n\ndjangocms-votes provide the follow template tags, *article* it's a template variable that represent page or articule, so could be whatever variable name.\n\n{% load votes %}\n---------------------\n\n* render_comments: If user is super user them show all comments, if user is logged then show a input comment field. Super users can vote comment as possitive, negative or neutral. Email is send to *COMMENT_EMAIL_NOTIFICATION* when user make a comment.\n\n\t{% render_comments article %}\n\n\n\n* render_comment_chart: Show chart with super users comment votes for this article.\n\n\t{% render_comment_chart article %}\n\n* render_poll_likes: Allow user to rate article with 1-5 starts.\n\n\t{% render_poll_likes article %}\n\n* render_poll: Show chart with result of start rate.\n\n\t{% render_poll article %}\n\n{% load user_votes %}\n---------------------------\n\n* user_poll_likes_chart: like *render_poll* but for specific user.\n\n\t{% user_poll_likes_chart user %}\n\n* user_comment_likes_chart: like *render_comment_chart* but for specific user.\n\n\t{% user_comment_likes_chart user %}\n\nPage application \n==================\n\nA filtrable stat system is available as page application, so you can add Votes in page settings, in the application field.\n\n**Note:** Votes could be translated if your are not using english. \n",
"description_content_type": null,
"docs_url": null,
"download_url": "",
"downloads": {
"last_day": -1,
"last_month": -1,
"last_week": -1
},
"home_page": "https://github.com/luisza/djangocms-votes",
"keywords": "",
"license": "GNU General Public License v3 (GPLv3)",
"maintainer": "",
"maintainer_email": "",
"name": "djangocms-votes",
"package_url": "https://pypi.org/project/djangocms-votes/",
"platform": "OS Independent",
"project_url": "https://pypi.org/project/djangocms-votes/",
"project_urls": {
"Homepage": "https://github.com/luisza/djangocms-votes"
},
"release_url": "https://pypi.org/project/djangocms-votes/0.1.3/",
"requires_dist": null,
"requires_python": "",
"summary": "Django cms comments, and rate system with stats.",
"version": "0.1.3"
},
"last_serial": 2453998,
"releases": {
"0.0.1": [
{
"comment_text": "",
"digests": {
"md5": "7490520283dfc5ec7b0357702451b830",
"sha256": "a936f474dcf48eff285f2e93992d3860fcb316aa9dde04e7db1ea6cb367a8663"
},
"downloads": -1,
"filename": "djangocms-votes-0.0.1.tar.gz",
"has_sig": false,
"md5_digest": "7490520283dfc5ec7b0357702451b830",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 136437,
"upload_time": "2016-09-27T21:53:48",
"url": "https://files.pythonhosted.org/packages/7c/82/18a777ef3638d2b8079ea46ac6812eb11a0682e4a1bbc5ccd6e02aa3eb7b/djangocms-votes-0.0.1.tar.gz"
}
],
"0.0.2": [
{
"comment_text": "",
"digests": {
"md5": "1ad1a7fe1e7c01b85232d7c5b3ea0750",
"sha256": "863b5863774670201ef4d9d1fbd72448b5f32d4f2037ccc5798634374665eb85"
},
"downloads": -1,
"filename": "djangocms-votes-0.0.2.tar.gz",
"has_sig": false,
"md5_digest": "1ad1a7fe1e7c01b85232d7c5b3ea0750",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 136438,
"upload_time": "2016-09-27T22:40:57",
"url": "https://files.pythonhosted.org/packages/c3/52/de35fdbb05799007f2c0d858aa536b83e397ac880a7c20f634c7509f07f4/djangocms-votes-0.0.2.tar.gz"
}
],
"0.0.4": [
{
"comment_text": "",
"digests": {
"md5": "455e66e0a5790002c53859bf07138642",
"sha256": "7b6042b077271b10cad5fddaafda3cdc8deae1f1eb932c8b56c8ff4599837bd2"
},
"downloads": -1,
"filename": "djangocms-votes-0.0.4.tar.gz",
"has_sig": false,
"md5_digest": "455e66e0a5790002c53859bf07138642",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 136503,
"upload_time": "2016-09-27T23:32:08",
"url": "https://files.pythonhosted.org/packages/54/91/87bbae8c8df518d6d5015913b96f0c3f42fa525afe1113d664dedfbbc888/djangocms-votes-0.0.4.tar.gz"
}
],
"0.0.6": [
{
"comment_text": "",
"digests": {
"md5": "18f9f1830785d16d9a36730cf4e173f3",
"sha256": "21bdaf0330122e887bb1aa875f1f9eaf9d4a1ecc06d766bbaf6f188e4c7ff9a4"
},
"downloads": -1,
"filename": "djangocms-votes-0.0.6.tar.gz",
"has_sig": false,
"md5_digest": "18f9f1830785d16d9a36730cf4e173f3",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 136640,
"upload_time": "2016-10-17T04:36:11",
"url": "https://files.pythonhosted.org/packages/bd/0b/7b71bcf57a006d26549b5c23586daeaf928dda71e2bc890d4127f8669da5/djangocms-votes-0.0.6.tar.gz"
}
],
"0.0.7": [
{
"comment_text": "",
"digests": {
"md5": "9795900bd76ad45416624fe0630a9b8d",
"sha256": "eb0181c99c62dcab57f930d452590ae3b9b6baade123232ff63dbc2d8266b4ca"
},
"downloads": -1,
"filename": "djangocms-votes-0.0.7.tar.gz",
"has_sig": false,
"md5_digest": "9795900bd76ad45416624fe0630a9b8d",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 136949,
"upload_time": "2016-10-17T05:11:24",
"url": "https://files.pythonhosted.org/packages/30/57/ea93d5e9f8f80135e1ea75c5fd416a30e8dcebf419f5747d3a1cfd9d6717/djangocms-votes-0.0.7.tar.gz"
}
],
"0.0.8": [
{
"comment_text": "",
"digests": {
"md5": "0d5318ef637b38d42aeaffaebb79280d",
"sha256": "f7affefdfa9ff49b4a7ccf3650ffa0ae589f89a8c3d6b8df4379c7c6314e5eee"
},
"downloads": -1,
"filename": "djangocms-votes-0.0.8.tar.gz",
"has_sig": false,
"md5_digest": "0d5318ef637b38d42aeaffaebb79280d",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 138683,
"upload_time": "2016-11-05T00:35:51",
"url": "https://files.pythonhosted.org/packages/7e/44/90a5b3e780eff557261ae2c2dfeceedb583b26126b9803d2ab22295c15d4/djangocms-votes-0.0.8.tar.gz"
}
],
"0.0.9": [
{
"comment_text": "",
"digests": {
"md5": "ffed3e48164721fd7a7c18f06c4dc591",
"sha256": "c93d3418252270dfb2915a21fd7fa5f388e2147b42a7a5a59d1b8de7315141c0"
},
"downloads": -1,
"filename": "djangocms-votes-0.0.9.tar.gz",
"has_sig": false,
"md5_digest": "ffed3e48164721fd7a7c18f06c4dc591",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 138816,
"upload_time": "2016-11-06T00:02:45",
"url": "https://files.pythonhosted.org/packages/22/8b/9414ab3397c4dd27cd71cba827c523d729e065e2ea0a1bf70ba3260a8756/djangocms-votes-0.0.9.tar.gz"
}
],
"0.1.0": [
{
"comment_text": "",
"digests": {
"md5": "59dca6f00570c39d3c43f0443bbb81d9",
"sha256": "3c2d9661768a517035fef7a74346e9dd01594a7c79d3288f2c3841201537e6ea"
},
"downloads": -1,
"filename": "djangocms-votes-0.1.0.tar.gz",
"has_sig": false,
"md5_digest": "59dca6f00570c39d3c43f0443bbb81d9",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 138815,
"upload_time": "2016-11-06T00:18:51",
"url": "https://files.pythonhosted.org/packages/c8/33/9232080c26ffcd9df4fecf921f1e2ea4f6acc177e27259810bdd378a7dc5/djangocms-votes-0.1.0.tar.gz"
}
],
"0.1.1": [
{
"comment_text": "",
"digests": {
"md5": "4f24e8292797a1c63445ccba65ad1184",
"sha256": "15799f8603ca799331d8ced5cd4ff7e340cf4ed1a1843601ef2a14315dad2927"
},
"downloads": -1,
"filename": "djangocms-votes-0.1.1.tar.gz",
"has_sig": false,
"md5_digest": "4f24e8292797a1c63445ccba65ad1184",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 138859,
"upload_time": "2016-11-06T02:09:11",
"url": "https://files.pythonhosted.org/packages/ff/70/20efdd7e640a8abb9d1dc3c66bf3422c900fb4f57a86a1db5c8baf1db33f/djangocms-votes-0.1.1.tar.gz"
}
],
"0.1.2": [
{
"comment_text": "",
"digests": {
"md5": "7429b245bed185e12f568ed530c0cbb5",
"sha256": "70989ca244f84398bdb9ababbdab96c4a426cc25dfbfd3420c4df82f9594a1e0"
},
"downloads": -1,
"filename": "djangocms-votes-0.1.2.tar.gz",
"has_sig": false,
"md5_digest": "7429b245bed185e12f568ed530c0cbb5",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 138870,
"upload_time": "2016-11-08T16:20:23",
"url": "https://files.pythonhosted.org/packages/20/4d/a4ed720e83e8707a5805bdb4255156aa4d50d9dd34ae8ea5bc94b6d85d08/djangocms-votes-0.1.2.tar.gz"
}
],
"0.1.3": [
{
"comment_text": "",
"digests": {
"md5": "83b1341dcc11a1951bb083be1ca41dcd",
"sha256": "768e1a0b7a2f7aeeae457b4629530fa5ae3eb938716ff1eb43a7f9340e3510f0"
},
"downloads": -1,
"filename": "djangocms-votes-0.1.3.tar.gz",
"has_sig": false,
"md5_digest": "83b1341dcc11a1951bb083be1ca41dcd",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 139162,
"upload_time": "2016-11-10T22:21:15",
"url": "https://files.pythonhosted.org/packages/f9/24/42f281b74c7d1aa31358a9dadcafd320c9bc064b2f44b568481093254384/djangocms-votes-0.1.3.tar.gz"
}
]
},
"urls": [
{
"comment_text": "",
"digests": {
"md5": "83b1341dcc11a1951bb083be1ca41dcd",
"sha256": "768e1a0b7a2f7aeeae457b4629530fa5ae3eb938716ff1eb43a7f9340e3510f0"
},
"downloads": -1,
"filename": "djangocms-votes-0.1.3.tar.gz",
"has_sig": false,
"md5_digest": "83b1341dcc11a1951bb083be1ca41dcd",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 139162,
"upload_time": "2016-11-10T22:21:15",
"url": "https://files.pythonhosted.org/packages/f9/24/42f281b74c7d1aa31358a9dadcafd320c9bc064b2f44b568481093254384/djangocms-votes-0.1.3.tar.gz"
}
]
}