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 Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
Close
Hashes for django_reactjs-0.2-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d06b2eee1d3697895c5973a5f2852c35507b3b79fc1aa1867603131bd3feca67 |
|
MD5 | c8f3893fd41b25d03f5e0f7adbebbf44 |
|
BLAKE2b-256 | 336271a5defc67bac32f9a16d58318be9dc919a91673ca3dedad8b14e001d070 |