{ "info": { "author": "zsluedem", "author_email": "zsluedem06@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Environment :: Web Environment", "Framework :: Django", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Operating System :: OS Independent", "Programming Language :: Python" ], "description": "# django_rholang_editor\n\n## Introduction\n\n[Rholang](https://developer.rchain.coop/) is a new language for writing smart contracts that run on the RChain virtual machine.\nYou can find more in the [Rholang tutorial](https://developer.rchain.coop/tutorial) \n\n##Usage\n\nIf you want to use the django form way and post the text in the rholang-editor. You may use as below.\n```python\nfrom django.forms import Form\nfrom django_rholang_editor.fields import RholangTextFormField\n\nclass EditorForm(Form):\n rho = RholangTextFormField()\n```\n\nThere is multiple way to configure the attrs of the `RholangTextFormField`\n\n```python\nRholangTextFormField(\n default_text=\"\",\n height=\"100px\",\n width=\"100%\",\n js_variable='editor'\n)\n```\n\n`ARGS`\n\n\n* default_text\n\nimplement the default text in the rholang text editor .\n\n* height\n\nthe rholang editor widget height\n\n* width\n\nthe rholang editor widget width\n\n* js_variable\n\nthe js variable name of the rholang editor . You can call the `js_variable` after the editor in the \nhtml to figure others implement or other interactions with other components.\n\n\n\n\n## Install\n\n1. install using pip\n```bash\npip install django-rholang-editor\n```\n\n2. Update `INSTALLED_APPS`:\n```python\nINSTALLED_APPS = (\n # ...\n 'django_rholang_editor',\n)\n```\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/zsluedem/django-rholang-editor", "keywords": "rholang", "license": "Simplified BSD", "maintainer": "", "maintainer_email": "", "name": "django-rholang-editor", "package_url": "https://pypi.org/project/django-rholang-editor/", "platform": "", "project_url": "https://pypi.org/project/django-rholang-editor/", "project_urls": { "Homepage": "https://github.com/zsluedem/django-rholang-editor" }, "release_url": "https://pypi.org/project/django-rholang-editor/0.1.2/", "requires_dist": [ "Django", "django-js-asset (==1.0.0)" ], "requires_python": "", "summary": "django rholang editor app based on ace editor", "version": "0.1.2" }, "last_serial": 3721590, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "706a0201de61939d547c0d76cb627c9d", "sha256": "7f3e54f0922fe29a6f4eefd0b13d81d374c9fd6044a822e768acb95984282c61" }, "downloads": -1, "filename": "django_rholang_editor-0.1.0-py3-none-any.whl", "has_sig": false, "md5_digest": "706a0201de61939d547c0d76cb627c9d", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 1061827, "upload_time": "2018-03-21T16:10:09", "url": "https://files.pythonhosted.org/packages/51/b1/e45a38ef2d6960a0b69222c7c63becfadbc61055fa0cfd9a681c90d5fe56/django_rholang_editor-0.1.0-py3-none-any.whl" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "ad6263f1b748ee5c6d0e40cbe2b480a8", "sha256": "e07cc05825aa4dd416828d9fcb2d99242491e7a97eaaeefb11f3187da414b37b" }, "downloads": -1, "filename": "django_rholang_editor-0.1.1-py3-none-any.whl", "has_sig": false, "md5_digest": "ad6263f1b748ee5c6d0e40cbe2b480a8", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 1061892, "upload_time": "2018-03-22T05:12:12", "url": "https://files.pythonhosted.org/packages/70/8e/e8e624f590e6997a5e3d71bd6edc05bbd6303fd027d769f0d6b9e08eb242/django_rholang_editor-0.1.1-py3-none-any.whl" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "66103d244ad57e7bceaa7fc1f34cc80d", "sha256": "dfe54be88d4f76bf8fd51316c261f61113a60404201026045e06528042b31faf" }, "downloads": -1, "filename": "django_rholang_editor-0.1.2-py3-none-any.whl", "has_sig": false, "md5_digest": "66103d244ad57e7bceaa7fc1f34cc80d", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 1062511, "upload_time": "2018-03-31T06:10:49", "url": "https://files.pythonhosted.org/packages/d0/06/582e156687743b5fabb7c1e53ef473748fced54ecff7adcf45510e4fb69a/django_rholang_editor-0.1.2-py3-none-any.whl" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "66103d244ad57e7bceaa7fc1f34cc80d", "sha256": "dfe54be88d4f76bf8fd51316c261f61113a60404201026045e06528042b31faf" }, "downloads": -1, "filename": "django_rholang_editor-0.1.2-py3-none-any.whl", "has_sig": false, "md5_digest": "66103d244ad57e7bceaa7fc1f34cc80d", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 1062511, "upload_time": "2018-03-31T06:10:49", "url": "https://files.pythonhosted.org/packages/d0/06/582e156687743b5fabb7c1e53ef473748fced54ecff7adcf45510e4fb69a/django_rholang_editor-0.1.2-py3-none-any.whl" } ] }