mirror of
https://github.com/django-components/django-components.git
synced 2025-07-08 01:45:00 +00:00

* feat:forward context processors variables in context in ISOLATED mode provide context_processors_data property to Component to access those variables in Component * refactor: internalize RequestContext and pass HttpRequest internally * docs: document HttpRequest and context processors * docs: use djc_py code blocks for component definitions --------- Co-authored-by: Lilian Durey <dureylilian@gmail.com>
3 lines
172 B
Python
3 lines
172 B
Python
# Allow us to use `djc_py` / `djc_python` code blocks.
|
|
# Importing this package automatically registers the `djc_py` lexer onto Pygments.
|
|
import pygments_djc # noqa: F401
|