On Mar 20, 4:49 am, Carl Meyer <c...@oddbird.net> wrote: > > Those last five characters in "get_context_data" actually serve quite a > useful purpose, IMO. They clarify that the return value is just the data > that will go into building a context (a dictionary), as opposed to being > the Context or RequestContext object itself, which is what I'd expect > from a method named "get_context". >
Good point. I might be splitting hairs, but _data isn't clear enough - both a dict and a Context objects satisfy `data`. Looking at RequestContext code, I found __init__ gets a `dict` parameter, so how about making it get_context_dict? Benny -- You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to django-developers@googlegroups.com. To unsubscribe from this group, send email to django-developers+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-developers?hl=en.