Re: context vs request context

2007-08-08 Thread Collin Grady

Yes, the generics use RequestContext because it will call all enabled
context processors.

Normal Context does not do so.


--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---



context vs request context

2007-08-08 Thread james_027

Hi,

While I was studying the list generic view. I ask myself why does the
django generic view  list uses request context to store the pagination
related info instead of a regular context. If I understand it right,
using the request context could provide additional info from the
context processor to the template, unlike the request context will
which only the the info you pass in from the view?

Thanks
james


--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---