#17472: RequestContext function with dict={} kwarg paramater fails
-------------------------------+----------------------------
Reporter: anonymous | Owner: nobody
Type: Uncategorized | Status: new
Component: Uncategorized | Version: 1.4-alpha-1
Severity: Normal | Keywords: RequestContext
Triage Stage: Unreviewed | Has patch: 0
Easy pickings: 1 | UI/UX: 0
-------------------------------+----------------------------
1.4 introduces changes in RequestContext that renders the following non-
functional:
{{{
c = RequestContext(request, dict={
'promotion': promotion,
'products_dict': products_dict,
})
}}}
The following will work:
{{{
c = RequestContext(request, {
'promotion': promotion,
'products_dict': products_dict,
})
}}}
It's probably a good idea to make the 1.4 changes backwards compatible,
allowing dict={} as a param to RequestContext.
--
Ticket URL: <https://code.djangoproject.com/ticket/17472>
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 [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en.