
Install pillow, add the image field to your Django models, then run make migrations and migrate to update SQLite with product and category models.
Learn to configure Django admin with pre populated fields for category and product, including slug auto-population and admin class registration, and test via the admin interface.
Configure template rendering in Django by placing templates at the app level inside the store app, enabling Django's automatic template discovery and avoiding namespace issues.
Build a Django category view by querying all categories, expose them via a context processor for universal access, and loop through category.name with cap first in the template.
Create a slug-based URL that redirects to a singular product page, fetches the product with get_object_or_404, and renders a product info page with add-to-cart.
Learn to build a dynamic category list view in Django, linking URLs and slugs to filter products by category and render a template with category and product data.
Configure Django urls and views for the cart, wiring a cart.urls to the project and creating summary, add, delete, and update views for ajax-based updates.
Create a session for a shopping cart by building a Cart class with add, delete, and update methods and initializing session, and expose cart data in templates with context processor.
Learn to test Django sessions using browser dev tools to inspect cookies and session IDs, clear cache, and simulate new versus returning users, then verify with the Django shell.
Implement an ajax add-to-cart flow on product info page by sending product ID and quantity to a Django cart endpoint via jQuery ajax, updating the server session with CSRF token.
Update the cart summary template to loop through cart items from session data, fetch product details from the database, display image, title, price, quantity, and total price.
Implement ajax-based deletion of cart items using a delete button with a data index to identify each product, and connect to a Django delete view with CSRF handling.
Optimize your cart handling by replacing shallow copies with deep copies using copy.deepcopy to ensure internal objects are correctly referenced, then test by adding items to the cart.
Welcome! I'm here to help you to build your own E-commerce store with Django.
-- Please read carefully --
This course is primarily intended for those with a basic knowledge of Django. You also need to have some knowledge of HTML, CSS, JavaScript and a little bit of bootstrap would be helpful. If you meet these conditions then this course is for you!
I want to help YOU to build your very first E-commerce store!
Please note:
The eCommerce store project that is developed in this course is for learning purposes only. I will teach you how to build an eCommerce store with the expected custom functionalities of a live store.
I do not promise that this course is going to be a 100% eCommerce solution for your business. Another important thing to bear in mind, is that this course is not for non-technical users.
The Python Django: Build an E-commerce Store - course has been structured in a simple and logical order. Everything that has been designed from the styling to the graphics and topics covered is crafted with the absolute duty of care towards the student.
Detailed course breakdown:
Building an ecommerce store with Django
Learn the fundamentals of Django.
Set up the foundation for an ecommerce website.
Payment Integration with PayPal
Implement payment processing using PayPal.
Real-World application development
Gain practical experience by building a real-world ecommerce application.
Shopping cart development
Create a shopping cart feature for your ecommerce site.
User management
Implement user management functionality.
Email verification
Add email verification features to enhance user management.
AWS Integration
Utilize Amazon Web Services (AWS) for storage (Amazon S3), database (Amazon RDS), and hosting (Amazon Elastic Beanstalk).
Deployment (live server hosting) options
Explore different deployment options, including Render deployment and Amazon Elastic Beanstalk deployment.
Shipping and order functionality
Implement shipping and order processing features.
Styling and validation
Enhance the user interface and ensure data validation.
Password management
Implement secure password management features.
Cart functionality
Handle shopping cart functionality, including sessions, adding, deleting, updating, testing, and optimization.
Context processors
Learn about context processors and their role in Django.
Model management
Understand how to manage models within the Django framework.
Additional functionality
Explore extra functionality beyond the core topics.
It covers all the concepts that you need to be aware of, in order to create your e-commerce store.
The course is structured in a logical and cohesive way - not just random lectures plastered everywhere.
It starts off very simple and then builds on gradually throughout the course.
This course is jam-packed with code snippets/references and with the full project source code (as a zip file).
We will learn how to integrate PayPal functionality.
The Python Django: Build an E-commerce Store course is a highly practical course and allows you to apply your knowledge:
There is a wealth of hands-on lectures throughout this course.
Your instructor:
My name is Arno Pretorius. I'm a qualified IT teacher who has taught programming both in-person and online. My main passions are teaching and technology, so I thought why not just combine the best of both worlds to create something truly amazing and valuable. Over the years, I have created and deployed many real-world Django-based applications, including a job portal for university graduates and an exclusive social network.
I'm a Software developer, an AWS Solutions Architect and Developer associate. I have a keen interest in cloud computing, web development and everything that relates to programming and technology.
So, let's go and become fluent in Django, along with an extra service or two.
Trust me you are in good hands!
This course also comes with:
- 18 + hours of on-demand video
- Full lifetime access
- A Udemy certificate of completion
- Access on mobile and TV
Join me in this course if you want to build your own E-commerce store with Django!