Thanks for the answers. topic closed to me 2011/3/16 emonk <elmonke...@gmail.com>
> I'm tired of searching and found many examples of middleware but not the > one I seek > > 2011/3/16 Cal Leeming [Simplicity Media Ltd] < > cal.leem...@simplicitymedialtd.co.uk> > > Actually, I've gotta side with Shawn on this one. >> >> There are *TONS* of examples of how to do this, I know this because I >> created one and put it on djangosnippets. :S >> >> If two people are telling you there are answers on Google, then trust me, >> there are. >> >> If you can't find them, then perhaps this isn't the job for you? >> >> On Wed, Mar 16, 2011 at 6:42 PM, emonk <elmonke...@gmail.com> wrote: >> >>> I repeat, i dont have found (in all entire internet) midlleware classes >>> about email error. >>> Thanks, dont need to be a troll :) >>> >>> >>> 2011/3/16 Shawn Milochik <sh...@milochik.com> >>> >>>> On Wed, Mar 16, 2011 at 1:16 PM, emonk <elmonke...@gmail.com> wrote: >>>> > Yep, but i need an example and I have not found any. >>>> > >>>> >>>> If you haven't found any then you haven't looked. Have you heard of >>>> Google? >>>> >>>> Here are the docs: >>>> >>>> http://docs.djangoproject.com/en/1.2/topics/http/middleware/#writing-your-own-middleware >>>> >>>> For a full working example of middleware that modifies the request, do >>>> a Google search for "django middleware" and click the link for >>>> "Chapter 16: Middleware" of "The Django Book." >>>> >>>> Shawn >>>> >>>> -- >>>> 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. >>>> >>>> >>> -- >>> 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. >>> >> >> > -- 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.