What you’ll learn
- Learn The Latest Django Version i.e Django 4
- Learn Django Basics From Scratch & Gain Essential Skills To Apply For Junior Level Django Developer Positions
- Learn About Models, Views & Templates in Django
- Learn How To Integrate Stripe Payment Gateway To Collect Payments In Your Django App
- Deploy Django App To A Real Server With Digital Ocean
- Learn How To Design & Style Your Django App Using Tailwind CSS
- Learn How To Perform Authentication i.e Register, Login, Logout Users In Your Django App
- Learn How To Implement Class Based Views In Django
- Learn How To Customise Django Admin Panel
- Add Pagination & Search Functionality To Django Apps
- Learn How to Build Web Applications With Django & Python
Django 4 Masterclass 2022 : Build Web Apps With Django
Here Is What You Get By Enrolling In This Course:
Word-By-Word Explanation: In the entire course, I explain each line of code, without skipping a single line of code.
Awesome Quality Content: Over 11+ hours of HD Videos.
Well Structured & Easy To Learn: Course has been specially designed to make it easy for the students to learn Django starting from a basic level and gradually moving up to advance concepts.
24 X 7 Support: I will always be there to guide you in your journey to become a Django expert.
Here Is Everything You Will Learn In This Complete Course:
In this hands-on course, you will learn how to build complex web applications from scratch using Django.
The course will teach you Django, right from scratch from a very basic level and will gradually move towards advanced topics like authentication.
The entire course is divided into 14 major sections.
Here is a brief description of what you will learn in each section of the course:
Section 1: Introduction and installing required software.
In this section we will learn what Django is and why it is used. We will also install the tools you will need to start making Django web apps. We will learn how to install Django and setup a Django project both on Windows & Mac individually.
Section 2: Views & URL Patterns
Django is based on the MVT(Model, Views & Templates) architecture and hence we start learning about what are views, how to create our very first view in Django which will power up our first webpage in Django. We then learn how to attach a view with a URL using URL patterns. We learn what are URL patterns and how they can be used to handle incoming URL requests to our Django app. This view section covers function based views as they are much simpler and offer more functionality, however in the later part of the course we will also learn class based views as well which is another way of implementing views in Django.
Section 3: Database & Models In Django
After learning about Views and URLs, it’s now time to learn about models. In Django models are a blueprint to create database tables. Unlike other backend frameworks, in Django you don’t have to create a database connection and then create database tables by writing SQL queries but instead Django provides you with models using which database tables are automatically generated at the backend without having to write a single SQL query. In this section we learn how to create a model and how to map that model to create a database table out of it in the backend.
Section 4: Django ORM
Just as you don’t have to write SQL queries to create a model, you don’t have to write any queries for querying data from the database either. Django comes with a built-in ORM which stands for Object Relational Mapper which allows you to treat database table entries as individual objects. In this section we learn how to add data to database tables using the ORM and also learn how to retrieve data as well from the database using the same. We also learn how to access the Django admin panel by creating a super user from where data could be added by the site administrator.
Section 5: Views & Templates
Once we have learned the basics of how views work in Django, we now learn how to populate these views with some database data. We also learn how to connect these views with templates which are nothing but HTML pages rendered dynamically by Django. We also learn how dynamic database data can be injected into these templates by passing context. We also learn how to create detailed views for products and handling hardcoded URLs associated with these detail views.
Section 6: Adding Styling To Django Project With CSS & Tailwind
After making a barebones app, we now learn how to style up our Django app. There are multiple CSS frameworks and libraries that can be used for styling apps but the one we will be using is Tailwind CSS. It is one of the most modern ways of styling the webpage. With its utility classes we can style every element of our webpage inline without having to create an external CSS file for it. We will learn how to setup Tailwind for a Django project, how to create a navigation bar with it and also how to stye out Django powered webpages with Tailwind.
Section 7: Form & CRUD Operations In Django
Every web application has to perform basic operations like create, read, update & delete data which is also termed as CRUD. In this section we will learn how to design forms in Django so that the end user of our website could perform all these four operations without any issues. Once you learn how to implement CRUD in Django you will be capable of building almost any basic web application in Django.
Section 8: Authentication
It important that we limit certain features of our website to registered users and this is exactly what we will be learning in this section. We learn how to register a user to our Django app, how to login a user and how to control access to certain pages and certain actions to just these logged in users. We also learn how to design the logout functionality so that the users could log out of our application. This entire process is called authentication and we will learn how to implement authentication in our Django app. You can also learn Laravel 8 – Advance Course Build School Management System
Section 9: Creating User Profile
Every registered user must have their own profile, in this section we will start off by learning how to add a functionality that allows every user to create their own profile. We will then learn how to associate a user with the products which they have posted for selling on our Django web app. This can be done by using relationships and keys between two models. We will connect the user model with the product model so that every product would be associated with a user. We will also create a listing page for every user where they can view all the products listed by them on our web app.
Section 10: Class Based Views In Django
We have already learned about the function based view in the earlier part of the course but there is an alternative and a cleaner approach of creating views and that is using class based views. In this section we will re-create every single function based view which is present in our application into a class based view and in the process also learn about the generic views offered by Django such as the ListView, DetailView, CreateView, UpdateView & the DeleteView. we also learn how to add a redirect URL to these views as well. You can also learn Beginning Laravel 9 – From Novice To Professional (2022)
Section 11: Customising Admin Panel
Every Django application we create comes with a built in Admin panel & it provides us with a functionality to customise this admin panel as per our own needs. In this section we will learn how we could modify the admin headers, how to add custom fields to our model in the admin panel, how to add custom search fields and custom actions as well and how to make fields of a model editable inside the admin panel.
Section 12: Pagination & Search
Displaying hundreds of products on a single page can be challenging, loading them all on a single page might increase the page load times and here is where pagination comes into picture. Pagination is a process of spreading out items in your database to multiple web pages instead of listing them all on a single page. This ensures a better user experience and quick page load times. In this section we will learn how to implement pagination functionality in our Django application and also implement a search functionality which allows users to search multiple products on our web application.
Section 13: Payment Gateway Integration With Stripe
Accepting payments is an integral part of any commercial website, hence in this section we will learn how to integrate stripe payment gateway into our Django app so that end users could pay for products and buy them. We will learn how to create a stipe account, how to add secret keys to our application ,we learn how to design the payment and checkout flow to buy any product on our site and return a payment success view upon successful payment. This payment flow could be integrated into any other Django application which you could create.
Section 14: Deployment
This is one of the most interesting part of the course because we will finally be able to deploy our website to the public internet where anyone in the world could access it. We will be using Git & GitHub to initially host our entire project code online and then deploy the same code form GitHub to DigitalOcean app platform. We learn how to create a code pipeline in such a way that code could be deployed from your local code editor, to Git, to GitHub and finally to DigitalOcean app platform. We learn how to set the environment variables to keep our secret app key private and also learn how to host a remote database and then connect it to our deployed Django application. We will also learn how to fix any issues which may arise in the due process.
Who this course is for:
- Beginner Python developers or students who want to learn Django
- Django developers who want to know how to add payment gateway and host their Django apps on a real server with little effort
- Developers from other domains who want to switch roles & get a job as a Django developer.