From the course: Building a Paid Membership Site with Django
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
Create customer
From the course: Building a Paid Membership Site with Django
Create customer
- [Narrator] The big issue with our project right now, - [Narrator] The big issue with our project right now, is that someone has paid for something but don't have is that someone has paid for something but don't have access to these premium plans access to these premium plans that they were promised. that they were promised. So in order to change this we have to make it So in order to change this we have to make it so that when someone creates a subscription, so that when someone creates a subscription, they also have a customer object associated with them. they also have a customer object associated with them. So if we're going to be working with the customer, So if we're going to be working with the customer, lets scroll to the top of this file and here where lets scroll to the top of this file and here where we imported our fitness plan from models, we imported our fitness plan from models, let's also import our customer class. let's also import our customer class. So let's make…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.