Adrian Holovaty wrote: > On 1/12/06, kmh <[EMAIL PROTECTED]> wrote: > >>Good idea to rename DjangoContext. My favorite alternative: >> >>DjangoContext --> Context >>Context --> PlainContext or SimpleContext > > > I like this a lot! SimpleContext is good...Other thoughts? > > Adrian > > -- > Adrian Holovaty > holovaty.com | djangoproject.com | chicagocrime.org >
Hm, I actually liked RequestContext and Context : Context : provides the functionality of a context, is empty to start with, and is the context you will get in a place where you are "insulated" from the request (eg in an inclusion tag, the context created for the included template is a Context ). RequestContext : A context that has been populated using information from the request. "Simple" implies to me that it is "for the same purpose" as other things called *Context, but has an easier to understand/trivial implementation. This isn't really true - its for a different thing. Also, calling the request-filled context Context would seem to imply that it is ok to rely on it in the implementation of the template system. Anything is better than DjangoContext though.