#24232: Add conditional expressions to block tag
---------------------------------+--------------------------------------
Reporter: giuliettamasina | Owner: nobody
Type: New feature | Status: new
Component: Template system | Version: master
Severity: Normal | Resolution:
Keywords: | Triage Stage: Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
---------------------------------+--------------------------------------
Comment (by giuliettamasina):
#9173 is for rendering a block only if a child template also defines that
block and has some content in it.
This ticket is for the more general usage of rendering a block only if
some condition is true. We cannot currently put block tags inside if tags,
and this would solve that.
--
Ticket URL: <https://code.djangoproject.com/ticket/24232#comment:2>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/073.1ae27d2681a5171ac383afad413c826a%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.