Customer Sessions Shopping Cart - Django Wednesdays ECommerce 12

Published: 08 November 2023
on channel: Codemy.com
15,685
427

In this video we'll start to create the framework for using Customer Sessions in our Django Ecommerce Website Shopping Cart.

Sessions are what allow us to keep track of users, and what they have placed into their shopping cart.

They allow us to put unique cookies on a customer's computer that keep track of items...

#django #codemy #JohnElder

Timecodes

0:00​​ - Introduction
1:17 - Create Cart Class
1:58 - Get Current Session
2:32 - Create New User Session
3:38 - Context Processors
5:48 - Add Context Processor to Settings
6:51 - Test Sessions in Browser
7:39 - Check Session DB in Shell
9:21 - Conclusion