In order to easily use react.js in Django in a more pure Python way.
Logging isn't readily available but an environment variable can be set to invoke print statements:
REACT_DEBUG=True
Any value is technically valid as it just looks for it to be set.
COMPRESS_PRECOMPILERS = (
('text/jsx', 'compress_react.ReactFilter'),
)