As per [their blog post of the 27th April](https://blog.readthedocs.com/securing-subdomains/) ‘Securing subdomains’: > Starting today, Read the Docs will start hosting projects from subdomains on the domain readthedocs.io, instead of on readthedocs.org. This change addresses some security concerns around site cookies while hosting user generated data on the same domain as our dashboard. Test Plan: Manually visited all the links I’ve modified.
25 lines
742 B
Plaintext
25 lines
742 B
Plaintext
.. _django-sekizai_support:
|
|
|
|
django-sekizai Support
|
|
======================
|
|
|
|
Django Compressor comes with support for django-sekizai_ via an extension.
|
|
django-sekizai provides the ability to include template code, from within
|
|
any block, to a parent block. It is primarily used to include js/css from
|
|
included templates to the master template.
|
|
|
|
It requires django-sekizai to be installed. Refer to the `django-sekizai docs`_
|
|
for how to use ``render_block``
|
|
|
|
Usage
|
|
-----
|
|
|
|
.. code-block:: django
|
|
|
|
{% load sekizai_tags %}
|
|
{% render_block "<js/css>" postprocessor "compressor.contrib.sekizai.compress" %}
|
|
|
|
|
|
.. _django-sekizai: https://github.com/ojii/django-sekizai
|
|
.. _django-sekizai docs: https://django-sekizai.readthedocs.io/en/latest/
|