Skip to main content

This django library allows you to add React components into your django templates.

Project description

Python tests 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:


This library include tests, just run python

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


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

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django_react_templatetags-7.0.1.tar.gz (14.9 kB view hashes)

Uploaded source

Built Distribution

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page