Hack with Django middlewares

Jaysinh shukla (~jaysinh)


2

Votes

Description:

  • Abstract: This proposal will introduce the concept of Django middlewares to the audience. It adheres to discuss existing Django middlewares and guides to writing custom middlewares.

  • Description: Django middlewares are stackable code for processing over incoming requests and responses. It is observed that developer are not aware of this feature of Django and end with repetitive code either at view or model level. This proposal tries to explain the importance of Django middlewares and introduce audience with the available APIs for writing their own custom Django middleware.

  • Outline:

    • Introduction to Django middleware
    • How to activate, de-activate Django middlewares
    • Explanation of Django middleware stack.
    • Explanation of Django auth middleware, gzip middleware and few other internal middlewares
    • API Django exposes for writing custom middleware
      • process_request
      • process_view
      • process_template_response
      • process_response
      • process_exception
    • How Django calls various middleware methods.
    • Which method to hack on for getting the desired customization.
    • Demonstration of custom JSON Web Token authentication middleware the author has written for his company.

Prerequisites:

  • Basic knowledge of Django framework

Speaker Info:

A Full-stack developer by profession, A Computer scientist by heart, An Actor by gene. I am Speaker, Vimmer, Blogger and Organizer. Core member of PyKutch.

Speaker Links:

Section: Web Development
Type: Talks
Target Audience: Intermediate
Last Updated:

Hi! Could you please add up slides to your workshop/talk?

Shivani Bhardwaj (~shivan1b)

Will try to add by today evening.

Jaysinh shukla (~jaysinh)

I love the manner you conferred this. You actually have an honest grasp on what’s required to reach digitally selling alittle business. the matter is that almost all individuals recently became familiar with instant gratification, best essay writing service thus expect instant results from their selling efforts. the fact is, that to succeed with any style of selling, you've got to be consistent, deliberate and most of all, terribly patient.

rasnajacob

I have been searching to find a comfort or effective procedure to complete this process and I think this is the most suitable way to do it effectively. Remedies for Alzheimer’s Disease

lifetime

I finally found great post here.I will get back here. I just added your blog to my bookmark sites. thanks.Quality posts is the crucial to invite the visitors to visit the web page, that's what this web page is providing. Turmeric Tea

lifetime

Pretty good post. I just stumbled upon your blog and wanted to say that I have really enjoyed reading your blog posts. Any way I’ll be subscribing to your feed and I hope you post again soon. Remedies for High Blood Pressure

lifetime

Great post I would like to thank you for the efforts you have made in writing this interesting and knowledgeable article. Remedies for Diarrhea

lifetime

This is a smart blog. I mean it. You have so much knowledge about this issue, and so much passion. You also know how to make people rally behind it, obviously from the responses. Peppermint Oil

lifetime

Its a great pleasure reading your post.Its full of information I am looking for and I love to post a comment that "The content of your post is awesome" Great work. Cinnamon Tea

lifetime

Thank you for your post, I look for such article along time, today i find it finally. this post give me lots of advise it is very useful for me. Ginger

lifetime

Thank you for helping people get the information they need. Great stuff as usual. Keep up the great work!!! How To Get Rid of Acne

lifetime

I wanted to leave a little comment to support you and wish you a good continuation. Wishing you the best of luck for all your blogging efforts. Natural Food

lifetime

Login to add a new comment.