#28782: Template variable resolution on objects that are no mappings but implement __getitem__ -------------------------------------+------------------------------------- Reporter: Frank Sachsenheim | Owner: Frank | Sachsenheim Type: Bug | Status: assigned 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 Frank Sachsenheim): a thought i just had: shouldn't it be the context object's responsibilty to resolve a value from a variable? while the latter is just a descriptor parsed from the template. this would allow easy customization. -- Ticket URL: <https://code.djangoproject.com/ticket/28782#comment:3> 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 django-updates+unsubscr...@googlegroups.com. To post to this group, send email to django-updates@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-updates/069.32c8b843e9e9b68a07c9a1dc1816444d%40djangoproject.com. For more options, visit https://groups.google.com/d/optout.