
Explore Django as a fast, reliable, secure, scalable web development framework that is developer friendly and a practical tool to build websites and web applications quickly.
Learn how a web framework acts as a structured and secured package of code. See how Django's code base helps build web applications faster and in a systematic way.
Django follows the MVT pattern—models for data in a database, views for logic, and templates for presentation. These URL routes link Python functions to deliver HTML content via templates.
Use a virtual environment (venv) to install Python packages for your Django project, keeping dependencies isolated and your app safe from Django version updates.
Learn how to create a Django project with startproject, inspect the project structure, and use settings.py and manage.py, while organizing apps for cart, payment, and login.
Explore building an e-commerce site with Django, configuring settings, middleware, and databases, and wiring urls and views while modeling data in models.py.
Create your first Django view by wiring URLs, views, and settings to return a Hello world HTTP response on the index route, using project and app URL configurations.
Create a templates folder named templates, add an index.html, and use Django's render to display it at the index route.
Show how Django templating engine renders dynamic content by defining a variable in templates, passing a context dictionary to render, and substituting the variable with its value in index.html.
Apply the Django template engine to implement for loops and if-else logic, rendering lists and dynamic content in templates.
Build the ecommerce homepage by creating base.html with the bootstrap starter template and a navbar, removing the search box, and placing links top-left for a clean, responsive layout.
Replace the navbar drop-down with signup, login, logout, and cart links, set the site name Deal with a Font Awesome horse svg logo, and style the navbar using css.
Learn to style and align your logo with the name, then add interactive hover effects using CSS transform matrix and transitions for a smooth, responsive logo animation.
Make the Django e-commerce site mobile friendly by transforming the base HTML layout with responsive design, centering the navigation bar on small screens using bootstrap techniques.
Leverage Django template inheritance to share the navbar across pages by defining blocks in base.html and extending it in index.html, then apply it to cart.html, login.html, and sign_up.html.
Style cards with CSS to remove borders, apply a 0.6 rem border radius, set a 10 rem width, and implement a hover scale of 1.2 with a 0.5 s transition.
Style the homepage to boost visual appeal by turning product cards into separate columns using column md four and column sm four, and preview changes by running the server.
Fix overlapping product display cards by renaming the CSS class to product display, apply a three rem auto margin, and test responsiveness using Chrome device toolbar.
Add a bootstrap carousel to the homepage of a Django e-commerce site by integrating carousel code with controls, loading static images from a static folder, and updating the index.html layout.
Apply a linear gradient to the product cards in base.html, widen cards to 15rem, and test across Chrome and mobile previews.
Create and access the Django admin panel by migrating the database and creating a superuser with administrative privileges, then log in to manage users and products.
Define category and product models in Django, with slug, price, description, image, and stock, relate products to categories via a foreign key, then migrate and register in the admin.
Fetch all products with the product model's static get products method. Pass them to the index template and render each product's slug as the name and its price on homepage.
Display uploaded product images on the home page by configuring Django media settings and static routing, then render the image URL from item.product.image.url in the template.
Learn to display actual product and category names in the Django admin by defining a __str__ method that returns self.name, then verify the changes by reloading the admin page.
Create a cart page in a Django app, extending base HTML, wiring routes and views, and building a Bootstrap-based layout with product cards, totals, and a pay now button.
Edit the cart page styling by adding custom classes for product card, image, name, quantity, and total value; apply CSS in the base HTML with hover shadows and typography adjustments.
Apply CSS to the cart card: remove borders, add a 10px border radius, and a hover box shadow; style the pay now button with orange initial color and green hover.
Center cart page elements for mobile by applying text-center to images and containers, then preview with Chrome device toolbar on an iPhone 12 Pro.
Build a signup form for a Django e-commerce site using Bootstrap complex forms, integrate it with templates, views, and authentication.
Build a Django sign-up page using a Bootstrap card, mx-auto centering, and form group with form row to align name, password, email, address, city, and zip, including a CSRF token.
Add Django forms behind the signup page by defining a form class and a corresponding customer model, then register, migrate, and connect signup to both auth users and store customers.
Implement the Django signup workflow using forms and a post request in views.py, validating data with form.is_valid, and creating two database entries: a user entry and a customer entry.
Attach a new Django signup form to the sign up template and style fields (name, password, email, address, city, zip) with form widgets and a dictionary of attrs.
Demonstrate building a signup form with Django forms, enforce numeric zip input, process get and post requests, save a new user and customer, and redirect to the home page.
Explore Django authentication by building a login form with a class-based login view, importing Django's login view, rendering login.html with a form, and routing /login.
Edit the login form to use a name field and password, connect to Django forms, handle post requests, authenticate with username and password, log in, and redirect to home page.
Learn to conditionally render navigation in Django with base.html, using user.is_authenticated to show logout and cart for logged-in users, and sign up for guests, with username display.
Learn to add navigation links in Django by naming URLs in urls.py, using the URL tag in templates, and wiring home, signup, login, and cart links.
Implement logout in a Django ecommerce site by using the built-in Django contrib auth logout view, wiring a URL path, adding a logout link in base.html, and testing the flow.
Create and register session cart and item cart models, wire migrations, and admin panel, storing session IDs, user data, product details, quantities, prices, and cart totals to enable add-to-cart functionality.
Implement add to cart using session and item cart models, fetch products by slug, update quantity and total, and wire routes and HTML to trigger additions.
Learn to fetch the current user's cart items from the database, filter by user, and display real product data in the Django cart page, including quantities, images, and total value.
Learn to implement Stripe payment integration in a Django app by building a test-mode checkout form, handling publishable and secret keys, and creating a checkout session.
Add and remove buttons on the cart page are implemented using Bootstrap classes, with green and red styling and responsive row-column layouts.
Wire the add to cart function to a cart/add route using the product slug, and update the cart page with a slug-based link that redirects back to the cart.
Implement remove from cart functionality in Django by creating remove_cart_obj in views.py, adjusting item quantity or removal, updating cart total, and wiring a URL route.
Learn how Django sessions store user data on the server, identify sessions via a session key in a cookie, and securely sign and encrypt data, enabling shopping cart data management.
Extract styles into a separate static styles.css, load it with Django's static tag in base.html, and restart the server to verify clean, working styling ahead of deployment.
Learn how to deploy a Django project by turning off debug mode, configuring allowed hosts, and serving static files with white noise, including collecting static files.
Deploy a Django ecommerce site by integrating white noise for static files and migrating product images to Cloudinary, with makemigrations, migrate, and Render deployment setup.
Deploy and verify a Django e-commerce app on render, test admin login, cart and Stripe checkout, then update the render address in views.py and redeploy.
Looking for a fast-track to your dream job as a web developer? Look no further than our comprehensive Django course! Our expert instructors will guide you step-by-step through the entire process of building high-performance web applications from scratch using the powerful Django framework. With hands-on projects and real-world examples, you'll gain the practical skills and experience needed to showcase your abilities to potential employers. Whether you're looking to land your first job as a web developer or to take your skills to the next level, our Django course is the perfect launchpad for your career. So why wait? Enroll now and become a job-ready Django developer today!
This course is designed to teach students the basics of building an e-commerce website using the Django framework with a mobile-friendly design. The course is perfect for those who are interested in web development and want to learn how to build& deploy their own online store.
The course starts by introducing the students to the basics of Django, including models, views, and templates. These concepts are crucial for understanding how to build a functional and responsive e-commerce site. The course also covers the use of Bootstrap and CSS for the front-end design, including creating visually appealing and responsive layouts. The course will provide a comprehensive introduction to building an e-commerce site with deployment using Django.
One of the key components of the course is user authentication. This includes creating user accounts and handling login and logout functionality. This is an essential part of any e-commerce site, and the course covers it in detail, providing students with the knowledge they need to build a secure and user-friendly site.
Another important aspect of the course is the use of Django forms. These forms are used to handle user input, such as creating and editing product listings. The course covers the basics of how to use these forms, including how to create and customize them to suit the needs of the e-commerce site.
The course also covers the integration of Stripe, a popular online payment platform, to enable secure and seamless transactions on the e-commerce site. This is an essential part of any e-commerce site, and the course covers it in detail, providing students with the knowledge they need to build a secure and user-friendly site.
One of the most important features of this course is the focus on mobile-friendly design. With the increasing use of mobile devices for browsing the web, it's essential for any e-commerce site to be optimized for mobile devices. The course covers how to build a responsive and mobile-friendly e-commerce site, providing students with the knowledge they need to build a site that looks great and functions well on any device.
Another important feature of the course is the focus on the cart and checkout process. The course covers how to add and remove items in the cart, how to handle the cart and checkout process and how to make the process as user friendly as possible.
Overall, this course provides a comprehensive introduction to building an e-commerce site using Django, Bootstrap, and Stripe plus deployment on render, making it a valuable resource for anyone interested in web development or building their own online store. The course covers all the essential components of building an e-commerce site, including user authentication, forms, payment integration, mobile-friendly design and cart and checkout process. By the end of the course, students will have the knowledge and skills they need to build& deploy their own e-commerce site using Django.