{ "info": { "author": "Thomas Weholt", "author_email": "thomas@weholt.org", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Framework :: Django :: 2.0", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Natural Language :: English", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6" ], "description": "=============================\nDjango RiotJS Helper\n=============================\n\nA small, rudimentary helper app for RiotJS (https://riot.js.org) integration into django projects.\n\n\nQuickstart\n----------\n\nInstall Django RiotJS Helper::\n\n pip install django-riotjs-helper\n\nAdd it to your `INSTALLED_APPS`:\n\n.. code-block:: python\n\n INSTALLED_APPS = (\n ...\n 'riotjs_helper',\n ...\n )\n\nAdd this to your base template (base.html):\n\n.. code-block:: html\n\n {% include 'riotjs_helper/riotjs_core.html' %}\n {% block riot_tags %}\n {% endblock riot_tags %}\n {% include 'riotjs_helper/riotjs_mount.html' %}\n\nIf you plan on using django rest framework you can switch riotjs_core.html to the more elaborate riotjs_setup.html:\n\n.. code-block:: html\n\n {% include 'riotjs_helper/riotjs_setup.html' %}\n\nThis setup requires some additional libraries as well, allready included in the requirements.txt:\n\n.. code-block:: bash\n\n djangorestframework\n django-filter\n django-rest-swagger\n httpie\n Markdown\n python-dateutil\n coreapi\n coreapi-cli\n coreschema\n\nAnd these has to be added to your INSTALLED_APPS, urls has to be updated etc.\n\nAnd then to create some tags:\n\n.. code-block:: bash\n\n python manage.py riot_tag \n\nIn the page you want to use your tag:\n\n.. code-block:: html\n\n {% block content %}\n ...\n \n ...\n \n ...\n {% endblock %}\n\n {% block riot_tags %}\n {% include '/include/_tag.html' %}\n {% include '/include/_tag.html' %}\n {% endblock riot_tags %}\n\nIf you need to add more context to your tags you can do that by editing the generated include files, for instance like so:\n\n.. code-block:: html\n\n {% load static %}\n \n \n\nIf you want to look at some boilerplate/example code generate your tags with the --example-code option:\n\n.. code-block:: bash\n\n python manage.py riot_tag --example-code\n\n\n\n\nHistory\n-------\n\n0.1.0 (2018-09-23)\n++++++++++++++++++\n\n* First release on PyPI.\n\n\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/weholt/django-riotjs-helper", "keywords": "django-riotjs-helper", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "django-riotjs-helper", "package_url": "https://pypi.org/project/django-riotjs-helper/", "platform": "", "project_url": "https://pypi.org/project/django-riotjs-helper/", "project_urls": { "Homepage": "https://github.com/weholt/django-riotjs-helper" }, "release_url": "https://pypi.org/project/django-riotjs-helper/0.1.1/", "requires_dist": [ "django" ], "requires_python": "", "summary": "A small, rudimentary helper app for RiotJS integration into django projects.", "version": "0.1.1" }, "last_serial": 4307968, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "2be0289ac910419fb915400ccda2ad3d", "sha256": "d83d435063d4ca73778d428e630171781822012f22d2cb29aa83f7da2699e692" }, "downloads": -1, "filename": "django_riotjs_helper-0.1.0-py3.7.egg", "has_sig": false, "md5_digest": "2be0289ac910419fb915400ccda2ad3d", "packagetype": "bdist_egg", "python_version": "3.7", "requires_python": null, "size": 10538, "upload_time": "2018-09-24T17:57:43", "url": "https://files.pythonhosted.org/packages/93/a5/4b9d7a7440d8b4a4e461bf37e30756870ce24fde34a06ea8c08dc4426901/django_riotjs_helper-0.1.0-py3.7.egg" }, { "comment_text": "", "digests": { "md5": "4b81e12000a4957a643aeb2fd11fdf02", "sha256": "08d602a01baac12f6ec8b9c78c16202ecf27cf23d146d545017015e9a1fa86c2" }, "downloads": -1, "filename": "django-riotjs-helper-0.1.0.tar.gz", "has_sig": false, "md5_digest": "4b81e12000a4957a643aeb2fd11fdf02", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7539, "upload_time": "2018-09-24T17:57:42", "url": "https://files.pythonhosted.org/packages/aa/c0/a4f788bbe0348cbcbeb18eb7d246bb73f443101d05bc9eaab0abd4db5252/django-riotjs-helper-0.1.0.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "a35f019181e98a2a86bdf1a36ee9df36", "sha256": "169f3f8d5de68b249c1015da720a2b1a02f3e4192bda6d19352350e958508418" }, "downloads": -1, "filename": "django_riotjs_helper-0.1.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "a35f019181e98a2a86bdf1a36ee9df36", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 6591, "upload_time": "2018-09-25T10:07:33", "url": "https://files.pythonhosted.org/packages/34/d4/a4ac780544b5d4781c3b245aac9477c96b30d19deae3fc85b80e84121e68/django_riotjs_helper-0.1.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "4f45cfbc13a5a20c91e14a7009abaded", "sha256": "1a39b920d22bac71c037c62d514559dc8cf1f25da93b9429d885405ed099ba6d" }, "downloads": -1, "filename": "django-riotjs-helper-0.1.1.tar.gz", "has_sig": false, "md5_digest": "4f45cfbc13a5a20c91e14a7009abaded", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7531, "upload_time": "2018-09-25T10:07:35", "url": "https://files.pythonhosted.org/packages/9b/75/98f98b1857aa3082c1b82ab5cd810cb36955229a3791abba3d316b5f098f/django-riotjs-helper-0.1.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "a35f019181e98a2a86bdf1a36ee9df36", "sha256": "169f3f8d5de68b249c1015da720a2b1a02f3e4192bda6d19352350e958508418" }, "downloads": -1, "filename": "django_riotjs_helper-0.1.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "a35f019181e98a2a86bdf1a36ee9df36", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 6591, "upload_time": "2018-09-25T10:07:33", "url": "https://files.pythonhosted.org/packages/34/d4/a4ac780544b5d4781c3b245aac9477c96b30d19deae3fc85b80e84121e68/django_riotjs_helper-0.1.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "4f45cfbc13a5a20c91e14a7009abaded", "sha256": "1a39b920d22bac71c037c62d514559dc8cf1f25da93b9429d885405ed099ba6d" }, "downloads": -1, "filename": "django-riotjs-helper-0.1.1.tar.gz", "has_sig": false, "md5_digest": "4f45cfbc13a5a20c91e14a7009abaded", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7531, "upload_time": "2018-09-25T10:07:35", "url": "https://files.pythonhosted.org/packages/9b/75/98f98b1857aa3082c1b82ab5cd810cb36955229a3791abba3d316b5f098f/django-riotjs-helper-0.1.1.tar.gz" } ] }