Django Tools around DraftJS format
Project description
Django Draft.js Tools
Django Tools around DraftJS format
Installation
> pip install django-draftjs-tools
Add it to your list of apps in Django
INSTALLED_APPS = [
...
'draftjstools',
...
]
Template Tag
At the top of your template make sure to include this after the ‘extends’ tag if used.
{% load draftjs_tools %}
Now pass in the draft.js data to the tag to see it render on the screen in HTML.
{% draftjs_render object.data %}
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for django-draftjs-tools-0.1.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 66173a36fefd1f1ead06220fb376043388a8a3d425fd94138b01a7c5732cfcf5 |
|
MD5 | 3ee8c7e0322427710db7c4b7e5434f80 |
|
BLAKE2b-256 | 1d66713b5f1aaa8a92f1ba43e3a2a0ea505d592c0f148c8712f810c40222428c |
Close
Hashes for django_draftjs_tools-0.1.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d7597212d325485db27a37411b2853321ffd61c0231e2b46dda9564086183fee |
|
MD5 | 147bd559c788397b5c9f3db8287e8751 |
|
BLAKE2b-256 | 27f542dda80ea04248dcfd85471c717accf7e9fd2492e8f9edb3027589d2171c |