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

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

LearnNow Online
Updated Jul 20, 2020

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.

Each LearnNowOnline training course is made up of Modules (typically an hour in length). Within each module there are Topics (typically 15-30 minutes each) and Subtopics (typically 2-5 minutes each). There is a Post Exam for each Module that must be passed with a score of 70% or higher to successfully and fully complete the course.


Prerequisites

Knowledge of Python


Meet the expert

Bharath Thipireddy

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.

Video Runtime

94 Minutes

Time to complete

161 Minutes

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 (43:33)

  • 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 (29:47)
  • 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)