Wednesday, April 25, 2012

Re: why django document does not specify how to use non-global middleware

Just because you used to do it in Struts, it does not mean that it is the best, or even a good, way to do it in django.

On Wed, Apr 25, 2012 at 17:26, DanYun Liu <liudanyun@gmail.com> wrote:
I am new to django, before django I used struts2 to build web application. It is common that we need to apply some middleware to a part of views and others not. I didn't find any userful information on the django site, so I searched the stackoverflow and got the right answer.


I will be useful to people who is familiar struts but new to django  to include how to user non-global middleware when introuduce the midlleware.


--
Pursuit the freedom of the soul.

--
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+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.



--
Marcin Tustin
Tel: 07773 787 105

--
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+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

No comments:

Post a Comment