1
0
mirror of https://github.com/django/django.git synced 2025-10-31 09:41:08 +00:00

Fixed #35535 -- Added template tag decorator simple_block_tag().

Co-authored-by: Natalia <124304+nessita@users.noreply.github.com>
This commit is contained in:
Jake Howard
2024-11-19 17:35:02 +00:00
committed by GitHub
parent 9543c605c3
commit 4c452cc377
6 changed files with 845 additions and 1 deletions

View File

@@ -323,7 +323,9 @@ Signals
Templates
~~~~~~~~~
* ...
* The new :meth:`~django.template.Library.simple_block_tag` decorator enables
the creation of simple block tags, which can accept and use a section of the
template.
Tests
~~~~~