• Stars
    star
    440
  • Rank 99,050 (Top 2 %)
  • Language
    Python
  • License
    MIT License
  • Created almost 9 years ago
  • Updated 11 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

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

Python tests PyPI version

Django-React-Templatetags

Django-React-Templatetags

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

Features

  • 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

Installation

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:

Tests

This library include tests, just run python runtests.py

You can also run separate test cases: python runtests.py tests.test_filters.ReactIncludeComponentTest

Coverage

Make sure you have Coverage.py installed, then run coverage run runtests.py to measure coverage. We are currently at 95%.

Contributing

Want to contribute? Awesome. Just send a pull request.

Security

If you believe you have found a security issue with any of our projects please email us at [email protected].

License

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

More Repositories

1

Wagtail-Pipit

Pipit is a Wagtail CMS boilerplate which aims to provide an easy and modern developer workflow with a React-rendered frontend.
Python
238
star
2

wagtail-geo-widget

Wagtail-Geo-Widget is the complete map solution for your Wagtail site.
Python
138
star
3

wagtail-trash

Instead of deleting pages when pressing delete, pages will get thrown into the "Trash Can".
Python
38
star
4

wagtail-meta-preview

Wagtail Meta Preview provides panels for previewing Facebook sharing, Twitter sharing and Google search results in the Wagtail admin.
Python
32
star
5

Frojd-Bedrock

A Docker based boilerplate for Wordpress/Bedrock
PHP
25
star
6

wagtail-redirect-importer

Note: This library is now included in Wagtail 2.10, use the builtin version instead of this.
Python
16
star
7

Hastur

Small node http server for rendering of react components
JavaScript
13
star
8

restframework-gis-distance

This is a extension to Django-Rest-Framework-Gis that adds sorting by distance and distance units.
Python
11
star
9

Fabrik

A deployment toolkit built on top of Fabric.
Python
10
star
10

wagtail-systemtext

Simplified Wagtail system text management
Python
8
star
11

react-sass-starterkit

A slim webpack starterkit and devserver. Includes react, sass and a small cli for scaffolding components fast.
JavaScript
8
star
12

Phoenix-Boilerplate

A docker based boilerplate for Phoenix/Elixir
Shell
6
star
13

Frojd-Gulp

Fröjds Gulp package
JavaScript
4
star
14

dockerimages

This is a collection of docker images used in development and CI
4
star
15

WP-Plugins

A collection of curated general usage Wordpress plugins
PHP
3
star
16

Frojd-BEM

A Sass-based, BEM-syntax css framework.
CSS
3
star
17

WP-Theme-Boilerplates

PHP
3
star
18

Wagtail-Pipit-Nextjs

JavaScript
2
star
19

Frojd-Jewl

JavaScript
2
star
20

modularize-component

Transform BEM-components to css-in-js-modules
JavaScript
2
star
21

Serverless-Node-Dynamodb-Boilerplate

This is a Node.js based serverless api boilerplate, it includes offline development support, a local dynamodb instance and a test suite
JavaScript
2
star
22

wp-cli-migration

PHP
1
star
23

WP-Plugin-Boilerplates

PHP
1
star
24

Docker-Webpack-Containers

Examples on how to setup Docker containers for webpack.
JavaScript
1
star
25

VersionWatcher

This is a tool for keeping track on project dependencies
JavaScript
1
star
26

Gravling

A web crawler that finds which website pages contains a certain search term and generates a report.
Python
1
star