This django library allows you to add React (16+) components into your django templates.
Install the library with pip:
pip install django_react_templatetags
You should first read Getting started, then go through these topics:
This library include tests, just run
You can also run separate test cases:
python runtests.py tests.test_filters.ReactIncludeComponentTest
Make sure you have Coverage.py installed, then run
coverage run runtests.py to measure coverage. We are currently at 95%.
Want to contribute? Awesome. Just send a pull request.
If you believe you have found a security issue with any of our projects please email us at email@example.com.
Django-React-Templatetags is released under the MIT License.