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 GitHub
parent e8d8bf2490
commit 71a339c2a7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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 %}