Skip to main content

Django Tools around DraftJS format

Project description

Django Draft.js Tools CI Django Draft.js Tools Develop

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


Download files

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

Source Distribution

django-draftjs-tools-0.1.2.tar.gz (3.4 kB view details)

Uploaded Source

Built Distribution

django_draftjs_tools-0.1.2-py3-none-any.whl (4.3 kB view details)

Uploaded Python 3

File details

Details for the file django-draftjs-tools-0.1.2.tar.gz.

File metadata

  • Download URL: django-draftjs-tools-0.1.2.tar.gz
  • Upload date:
  • Size: 3.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.54.0 CPython/3.7.9

File hashes

Hashes for django-draftjs-tools-0.1.2.tar.gz
Algorithm Hash digest
SHA256 66173a36fefd1f1ead06220fb376043388a8a3d425fd94138b01a7c5732cfcf5
MD5 3ee8c7e0322427710db7c4b7e5434f80
BLAKE2b-256 1d66713b5f1aaa8a92f1ba43e3a2a0ea505d592c0f148c8712f810c40222428c

See more details on using hashes here.

File details

Details for the file django_draftjs_tools-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: django_draftjs_tools-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 4.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.54.0 CPython/3.7.9

File hashes

Hashes for django_draftjs_tools-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 d7597212d325485db27a37411b2853321ffd61c0231e2b46dda9564086183fee
MD5 147bd559c788397b5c9f3db8287e8751
BLAKE2b-256 27f542dda80ea04248dcfd85471c717accf7e9fd2492e8f9edb3027589d2171c

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page