Skip to main content
Python Software Foundation 20th Year Anniversary Fundraiser  Donate today!

django rholang editor app based on ace editor

Project description

# django_rholang_editor

## Introduction

[Rholang]( is a new language for writing smart contracts that run on the RChain virtual machine.
You can find more in the [Rholang tutorial](


If you want to use the django form way and post the text in the rholang-editor. You may use as below.
from django.forms import Form
from django_rholang_editor.fields import RholangTextFormField

class EditorForm(Form):
rho = RholangTextFormField()

There is multiple way to configure the attrs of the `RholangTextFormField`



* default_text

implement the default text in the rholang text editor .

* height

the rholang editor widget height

* width

the rholang editor widget width

* js_variable

the js variable name of the rholang editor . You can call the `js_variable` after the editor in the
html to figure others implement or other interactions with other components.

## Install

1. install using pip
pip install django-rholang-editor

# ...

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for django-rholang-editor, version 0.1.2
Filename, size File type Python version Upload date Hashes
Filename, size django_rholang_editor-0.1.2-py3-none-any.whl (1.1 MB) File type Wheel Python version py3 Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page