Integrate reactjs with django
Project description
*THIS MODULE IS DEPRECATED*
# 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 %}
```
### CHANGES ###
0.4.1
=====
* update to reactjs 15.3.2
* update README
0.4.0
=====
* renamed reactjs.apps.Config to reactjs.apps.ReactJSConfig
* update to reactjs 15.3.1
* removed python2 support
# 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 %}
```
### CHANGES ###
0.4.1
=====
* update to reactjs 15.3.2
* update README
0.4.0
=====
* renamed reactjs.apps.Config to reactjs.apps.ReactJSConfig
* update to reactjs 15.3.1
* removed python2 support
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
File details
Details for the file django_reactjs-0.4.2-py2.py3-none-any.whl
.
File metadata
- Download URL: django_reactjs-0.4.2-py2.py3-none-any.whl
- Upload date:
- Size: 439.1 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | fad8a7218136cedb48bfa84e260a1bd81d7fc1a98c75c92f37a3ab3238ab9bcc |
|
MD5 | af9551bae930eeeb73304e7eab173aa8 |
|
BLAKE2b-256 | 9a3ad0bf83f07e002dd58ccef0e3653fa9aa02297940f6e6eb95fd54926eed66 |