middleware

33 views
Skip to first unread message

Pawanesh Gautam

unread,
Aug 25, 2015, 7:18:46 AM8/25/15
to Django users
why middleware is required ?? 

Mayank G

unread,
Aug 25, 2015, 7:42:06 AM8/25/15
to django...@googlegroups.com
Middleware allows you to process certain pre specified activities like, Logging, User Authentication, Tokenization and filtration of data. Route authentication, Access control list validations. 
It provides flexibility to invoke appropriate middleware on different routes. 
These act as glue to provide extra functionality.
Certain tasks which need to be processed before of after serving request, it must be included inside middleware

On Tue, Aug 25, 2015 at 4:44 PM, Pawanesh Gautam <pawn...@gmail.com> wrote:
why middleware is required ?? 

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users...@googlegroups.com.
To post to this group, send email to django...@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/b160c03e-a9c2-42f9-a95e-52fbace330c9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages