Settings

CLIENT_DATA_NAMESPACE (defaults to ‘DJANGO’) is the JavaScript global that will
be created as the namespace to contain the client data. The data is a property
of this global and is named ‘client_data’.

Mechanism

Django Client Data works by attaching a client_data attribute on the request
object. The client_data.html template attaches a client_data property
to the JavaScript global indicated by CLIENT_DATA_NAMESPACE.

Todo

Add a “context processors” feature to client data so custom values can be
injected