Update docs/features.rst

Co-authored-by: Peter Bittner <django@bittner.it>
This commit is contained in:
Petr Dlouhý 2022-07-15 12:14:23 +02:00 committed by Peter Bittner
parent 96f1ba98b1
commit 25979fd0c2

View file

@ -79,7 +79,9 @@ sending, you can do it by setting the `analyitcal_identity` context variable::
context = RequestContext({'analytical_identity': user.uuid})
return some_template.render(context)
or in the template::
or in the template:
.. code-block:: django
{% with analytical_identity=request.user.uuid|default:None %}
{% analytical_head_top %}