Integrate reactjs with django
Project description
# django-reactjs #
A simple templatetag to load reactjs libraries.
## install ##
Just include `reactjs` into your `INSTALLED_APPS`
```
#!python
INSTALLED_APPS += [ "reactjs" ]
```
## templatetag ##
Load the templatetag
```
#!html
{% load reactjs %}
```
### reactjs ###
Include the reactjs file(s) as `<scrip...></script>` tag(s).
```
#!html
{% reactjs %}
```
### reactjs-with-addons ###
Include the reactjs-with-addons file(s) as `<scrip...></script>` tag(s).
```
#!html
{% reactjs-with-addons %}
```
A simple templatetag to load reactjs libraries.
## install ##
Just include `reactjs` into your `INSTALLED_APPS`
```
#!python
INSTALLED_APPS += [ "reactjs" ]
```
## templatetag ##
Load the templatetag
```
#!html
{% load reactjs %}
```
### reactjs ###
Include the reactjs file(s) as `<scrip...></script>` tag(s).
```
#!html
{% reactjs %}
```
### reactjs-with-addons ###
Include the reactjs-with-addons file(s) as `<scrip...></script>` tag(s).
```
#!html
{% reactjs-with-addons %}
```
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
django-reactjs-0.2.3.tar.gz
(390.3 kB
view hashes)
Built Distribution
Close
Hashes for django_reactjs-0.2.3-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 11abfcd0d23c27c4858b37c0d91564af4eb342a7b458a1b0dbbc889780fe186e |
|
MD5 | 94b2b73c1648f06b4a6e7d6a03a6e737 |
|
BLAKE2b-256 | 29d1b881279a88b0f96bb02ce5c21fccff3117ef034ef22755033fc1663ad178 |