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:
@@ -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
|
||||
~~~~~
|
||||
|
||||
Reference in New Issue
Block a user