#36559: partialdef tag embedded in verbatim tag is treated as the source
property
for that named partial
---------------------------------+--------------------------------------
Reporter: Jacob Walls | Owner: Farhan Ali
Type: Bug | Status: assigned
Component: Template system | Version: dev
Severity: Release blocker | Resolution:
Keywords: partials | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
---------------------------------+--------------------------------------
Comment (by Carlton Gibson):
The same issue occurs with `{% comment %}` too. It's dependent on the
partial name being reused in the non-active block, that must appear first
in the source.
I'm not sure it's worth the price of entry — sometimes **don't do that**
is the right answer — but I'd be inclined to strip comment and verbatim
blocks before looking the match (if this usage is to be supported)
--
Ticket URL: <https://code.djangoproject.com/ticket/36559#comment:5>
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 view this discussion visit
https://groups.google.com/d/msgid/django-updates/01070198bd427ed6-81224176-cb47-4a54-8287-dba08f9e065a-000000%40eu-central-1.amazonses.com.