Learn your way! Get started

Django for Python Developers, Part 6 of 8: Session Management and Middleware

with expert Bharath Thipireddy


Watch trailer


Course at a glance

Included in these subscriptions:

  • Dev & IT Pro Video
  • Dev & IT Pro Power Pack

Release date 12/5/2019
Level Intermediate
Runtime 1h 9m
Closed captioning N/A
Transcript N/A
eBooks / courseware N/A
Hands-on labs N/A
Sample code Included
Exams Included


Enterprise Solutions

Need reporting, custom learning tracks, or SCORM? Learn More



Course description

Django is the most widely used Web Application Development framework in the industry today. Django makes it super easy to create production ready web applications. This course covers session management, creates a shopping cart as well as middleware.

Prerequisites

Knowledge of Python

Meet the expert

Bharath Thippireddy is an entrepreneur, software architect, public speaker, and trainer. Bharath is a Sun Certified Developer, Web Component Developer, Business Component Developer, and a Web Services Developer. While working for companies like Oracle, HP, TCS, Siemens, and NCR; Bharath has architected applications using Java, JEE, JavaScript, and SOA technologies. He loves learning new things both in technology and personal development and shares them on YouTube and his web site - Sharing is learning!. He has mentored students in classroom trainings, as well as in the corporate world, both in India as well as in USA. He has spoken on technical topics at several agile conferences. While in India he also voluntarily teaches interview and soft skills at Vivekananda Kendra.

Course outline



Session Management and Middleware

Session Management (17:41)
  • Introduction (00:08)
  • Django Session Management (02:39)
  • Create the Project (01:02)
  • Checking Cookie Support (04:18)
  • Run the Test (02:37)
  • Page Hit Count using Cookies (04:12)
  • Cookies in action (02:34)
  • Summary (00:08)
Shopping Cart (16:19)
  • Introduction (00:08)
  • Create Form and Views (02:36)
  • Create the Add Item View (03:43)
  • Implement Templates (02:52)
  • Display Items Template (03:14)
  • Configure the URLs and Run (03:36)
  • Summary (00:08)
Session API Project (17:58)
  • Introduction (00:08)
  • Create Session API Project (01:18)
  • Page Count Using Session API (05:22)
  • Implement Shopping Cart (04:58)
  • Configure URLs (01:50)
  • Other methods on session (04:12)
  • Summary (00:08)
Middleware (17:13)
  • Introduction (00:08)
  • Introduction (02:41)
  • Custom Middleware (03:48)
  • Create Custom Middleware (04:33)
  • Exception handling middleware (05:54)
  • Summary (00:08)