#17229: Allow 'True', 'False' and 'None' to resolve to corresponding Python objects -------------------------------------+------------------------------------- Reporter: anatoly techtonik | Owner: aaugustin <techtonik@…> | Status: reopened Type: New feature | Version: 1.2 Component: Template system | Resolution: Severity: Normal | Triage Stage: Accepted Keywords: | Needs documentation: 0 Has patch: 1 | Patch needs improvement: 0 Needs tests: 0 | UI/UX: 0 Easy pickings: 1 | -------------------------------------+-------------------------------------
Comment (by akaariai): It could make sense to just revert r17894 to make trunk work again. Otherwise, the question is how likely user code is to pass in Context instances. I guess it happens, as it wasn't exactly uncommon in our code either. So, if Context is going to be disallowed, then at least provide a clear error message of what happened. -- Ticket URL: <https://code.djangoproject.com/ticket/17229#comment:22> 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 post to this group, send email to django-updates@googlegroups.com. To unsubscribe from this group, send email to django-updates+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-updates?hl=en.