#15572: include with "only" option discards context properties (such as autoescape) ---------------------------------+--------------------------- Reporter: dfoerster | Owner: nobody Status: new | Milestone: 1.3 Component: Template system | Version: SVN Keywords: include, autoescape | Triage Stage: Unreviewed Has patch: 1 | ---------------------------------+--------------------------- When including template files with the "only" option set, context properties such as autoescape are discarded.
Expected behaviour: The properties of the context object should be retained. (This is already the case when not using the "only" option.) I attached a patch that fixes this problem (I'm not sure if the current_app property also needs to be copied). Cheers David -- Ticket URL: <http://code.djangoproject.com/ticket/15572> Django <http://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.