On Monday, March 14, 2011 3:09:39 PM UTC, gamingdroid wrote: > > I see, so I completely misunderstood RequestContext. > > There is only two differences, RequestContext takes a HttpRequest > object as it's first argument and automatically includes > TEMPLATE_CONTEXT_PROCESSOR dictionaries into the context. > > Question then is why using RequestContext forced me to include > 'django.contrib.auth.context_processors.auth' in > TEMPLATE_CONTEXT_PROCESSOR for the admin section to work, while just > using Context did not? That suggest Context somehow get's > django.contrib.auth.context_processors.auth.... > > Thanks! > I am confused by your question. The choice of Context or RequestContext only applies to your own views. It doesn't affect the admin site in any way. What do you mean when you say you needed to add something to get the admin section to "work"? How did it not work when you didn't? -- DR.
-- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.