#28001: Investigate/update comment about context popping in ForNode.render()
-------------------------------------+-------------------------------------
Reporter: Baptiste Mispelon | Owner: kapil
Type: | garg
Cleanup/optimization | Status: assigned
Component: Template system | Version: 1.11
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 1 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by kapil garg):
Also , It is to note that 'None' template name actually passed the engine
and the loaders tried to load that template even the template_name was
None.
The error I got was 'IsADirectoryError' because loaders appended nothing
to template directory and tried to load that directory.
So i think we need to add a check in engine for invalid template names.
--
Ticket URL: <https://code.djangoproject.com/ticket/28001#comment:7>
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/067.1c998ed557805d5ec3ab39b40b8e7f60%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.