by Frojd

A quick way to add React components to your Django templates.

238 Stars 30 Forks Last release: Not found MIT License 294 Commits 24 Releases

Available items

No Items, yet!

The developer of this repository has not created any items for sale yet. Need a bug fixed? Help with integration? A different license? Create a request here:

Build Status PyPI version



This django library allows you to add React (16+) components into your django templates.


  • Include react components using django templatetags
  • Unlimited amount of components in one view
  • Support custom models (that is from the beginning not json-serializable)
  • Server side rendering with Hypernova or Hastur


Install the library with pip:

$ pip install django_react_templatetags

Where to go from here?

You should first read Getting started, then go through these topics: - Settings - How to use the templatetags included in this library - Adding a single component - Adding multiple components - Examples - Working with models - Server side rendering - FAQ


This library include tests, just run


You can also run separate test cases:

python tests.test_filters.ReactIncludeComponentTest


Make sure you have installed, then run

coverage run
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 protected].


Django-React-Templatetags is released under the MIT License.

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.