Menu

Log in

Sign up

From beginner to master of web design, coding, infrastructure operation, business development and marketing

  • COURSES
  • HTML & CSS Introduction
  • HTML & CSS Coding with AI
  • Linux Introduction
  • Docker Basics
  • Git & GitHub Introduction
  • JavaScript Coding with AI
  • Django Introduction
  • AWS Basics
  • Figma Introduction
  • SEO Tutorial for Beginners
  • SEO with AI
  • OTHERS
  • About
  • Terms of Service
  • Privacy Policy

© 2024 D-Libro. All Rights Reserved

Django Introduction

Django Introduction

Django Course for Beginners - Learn Django Basics

Build your first Django web application! Our comprehensive course guides you step-by-step, covering essential concepts and real-world skills for confident web development with Django.

Start Chapter 1

Chapter 1. Django Key Concepts

6 lessons

Chapter Information

Django Key Concepts for Beginners

Chapter 1. Django Key Concepts

Understanding Web Frameworks and Django

Web Framework and Django

Differences Between Websites and Django Web Apps

Websites vs. Django Web Apps

How Django Manages HTTP Requests and Responses

How Django Handles HTTP Request and HTTP Response

Django MVT Architecture Explained

Django's MVT Framework

Django Templates vs. Django APIs for Web Development

Django Templates vs. Django APIs

Django Key Concepts for Beginners

Chapter 1. Django Key Concepts

Understanding Web Frameworks and Django

Web Framework and Django

Differences Between Websites and Django Web Apps

Websites vs. Django Web Apps

How Django Manages HTTP Requests and Responses

How Django Handles HTTP Request and HTTP Response

Django MVT Architecture Explained

Django's MVT Framework

Django Templates vs. Django APIs for Web Development

Django Templates vs. Django APIs

Chapter 2. Django Quick Start Guide

16 lessons

Chapter Information

Django Quick Start Guide: App Development Steps

Chapter 2. Django Quick Start Guide

How to Install Python for Django Development

Install Python

Why Use Visual Studio Code for Django Coding

Install Visual Studio Code

Creating Your First Django Project Directory

Create Project Directory

Setting Up a Virtual Environment for Django

Set Up Virtual Environment

Installing Django: A Simple Guide

Install Django

How to Start a New Django Project

Start Django Project

How to Run a Django Development Server

Run Server

Performing Database Migrations in Django

Database Migration

Mapping HTTP Requests with Django's URL Dispatcher

URL dispatcher – urls.py

Creating a Superuser for Django Admin Access

Create Superuser and Log In to Django Admin

Starting a New App in Django

Start App

How to Create HTML Templates in Django

Create HTML Templates

Defining Django Views: Function vs. Class-Based

Create Views

Adding URL Patterns to Django Views

Add URL Patterns

Understanding the Difference Between Django Projects and Apps

Project vs. App

Django Quick Start Guide: App Development Steps

Chapter 2. Django Quick Start Guide

How to Install Python for Django Development

Install Python

Why Use Visual Studio Code for Django Coding

Install Visual Studio Code

Creating Your First Django Project Directory

Create Project Directory

Setting Up a Virtual Environment for Django

Set Up Virtual Environment

Installing Django: A Simple Guide

Install Django

How to Start a New Django Project

Start Django Project

How to Run a Django Development Server

Run Server

Performing Database Migrations in Django

Database Migration

Mapping HTTP Requests with Django's URL Dispatcher

URL dispatcher – urls.py

Creating a Superuser for Django Admin Access

Create Superuser and Log In to Django Admin

Starting a New App in Django

Start App

How to Create HTML Templates in Django

Create HTML Templates

Defining Django Views: Function vs. Class-Based

Create Views

Adding URL Patterns to Django Views

Add URL Patterns

Understanding the Difference Between Django Projects and Apps

Project vs. App

Chapter 3. Django Models and Databases

17 lessons

Chapter Information

Django Models and Databases Guide

Chapter 3. Django Models and Databases

How to Create a Database for Your Django Project

Create a Database in Django

Introduction to Relational Databases for Django

Relational Database

Creating and Editing Django Models

Create Django Models

Using Makemigrations and Migrate in Django

Makemigrations and Migrate

How to Add Models to Django Admin

Add Models in Django Admin – admin.py

Changing Record Object Display Names in Django Admin

Change Display Name of Record Objects

Django Models: Understanding Data Field Types

Django Models – Data Field Type

Field Options in Django Models

Django Models – Field Options

Adding Help Text to Django Admin Fields

Django Models – Help Text Option

Implementing Choices in Django Model Fields

Django Models – Choices Option

DateField Usage in Django Models

Django Models – DateField with datetime Module

Understanding Relationship Fields in Django Models

Django Models – Relationship Fields

Django Models Automatic ID Field

Django Models – ID

Creating One-To-Many Relationships with ForeignKey

Django Models – ForeignKey (OneToMany Relationship)

Establishing One-To-One Relationships in Django

Django Models – OneToOneField

Defining Many-To-Many Relationships with ManyToManyField

Django Models – ManyToManyField

Django Models and Databases Guide

Chapter 3. Django Models and Databases

How to Create a Database for Your Django Project

Create a Database in Django

Introduction to Relational Databases for Django

Relational Database

Creating and Editing Django Models

Create Django Models

Using Makemigrations and Migrate in Django

Makemigrations and Migrate

How to Add Models to Django Admin

Add Models in Django Admin – admin.py

Changing Record Object Display Names in Django Admin

Change Display Name of Record Objects

Django Models: Understanding Data Field Types

Django Models – Data Field Type

Field Options in Django Models

Django Models – Field Options

Adding Help Text to Django Admin Fields

Django Models – Help Text Option

Implementing Choices in Django Model Fields

Django Models – Choices Option

DateField Usage in Django Models

Django Models – DateField with datetime Module

Understanding Relationship Fields in Django Models

Django Models – Relationship Fields

Django Models Automatic ID Field

Django Models – ID

Creating One-To-Many Relationships with ForeignKey

Django Models – ForeignKey (OneToMany Relationship)

Establishing One-To-One Relationships in Django

Django Models – OneToOneField

Defining Many-To-Many Relationships with ManyToManyField

Django Models – ManyToManyField

Chapter 4. Create CRUD Web Application

28 lessons

Chapter Information

Building a CRUD Web Application in Django

Chapter 4. Create CRUD Web Application

Understanding CRUD in Web Applications

CRUD Web Application

Building CRUD Structures with Django

Basic CRUD Structure in Django

Leveraging Django Generic Views for CRUD

Django Generic Views

Writing Class-Based Views Using Django Generic Views

How To Write Class-Based Views with Generic Views

Attributes of Django Generic Views

Generic View Basic Attributes

URL Dispatching in Django for CRUD Operations

URL Dispatcher for CRUD Views

Creating Django Templates for CRUD Operations

Django Templates for CRUD Views

Integrating Django Template Language (DTL)

Django Template Language (DTL)

Designing List Page Templates in Django

Template for List Page

Displaying Human-Readable Choices in Django

get_FOO_display method

Detail Page Templates in Django

Template for Detail Page

Displaying Related Model Data in Django Templates

Template with Model Relations

Creating Templates for Create and Update Pages

Template for Create and Update Page

Designing a Delete Page Template in Django

Template for Delete Page

Adding Page Links with Django's {% url %} Tag

Add Links – {% url %} tag

How to Use Template Inheritance with {% extends %}

Extend Templates – {% extends %} tag

Testing Django App UI on Mobile Devices

Check Developing App UI on Mobile Device

Integrating Bootstrap with Django Templates

Django Templates with Bootstrap

Styling Forms with Crispy Forms in Django

Crispy Forms

Customizing Django Views to Change List Order

Customize Views (1) – Change List Order

Filtering Lists in Django Views

Customizing Views (2) – Filter Lists

Using Context in Django Views and Templates

Context

Adding Extra Context in Django Views

Customize Views (3) – Add Extra Context

Modularizing Django Templates with {% include %}

Modularize Templates – {% include %} tag

Managing Static Files in Django with {% static %}

Static Files in Development Environment – {% static %} tag

Configuring STATIC_URL and STATICFILES_DIRS in Django

STATIC_URL and STATICFILES_DIRS

Creating the Home Page with Index HTML in Django

Create Index HTML

Building a CRUD Web Application in Django

Chapter 4. Create CRUD Web Application

Understanding CRUD in Web Applications

CRUD Web Application

Building CRUD Structures with Django

Basic CRUD Structure in Django

Leveraging Django Generic Views for CRUD

Django Generic Views

Writing Class-Based Views Using Django Generic Views

How To Write Class-Based Views with Generic Views

Attributes of Django Generic Views

Generic View Basic Attributes

URL Dispatching in Django for CRUD Operations

URL Dispatcher for CRUD Views

Creating Django Templates for CRUD Operations

Django Templates for CRUD Views

Integrating Django Template Language (DTL)

Django Template Language (DTL)

Designing List Page Templates in Django

Template for List Page

Displaying Human-Readable Choices in Django

get_FOO_display method

Detail Page Templates in Django

Template for Detail Page

Displaying Related Model Data in Django Templates

Template with Model Relations

Creating Templates for Create and Update Pages

Template for Create and Update Page

Designing a Delete Page Template in Django

Template for Delete Page

Adding Page Links with Django's {% url %} Tag

Add Links – {% url %} tag

How to Use Template Inheritance with {% extends %}

Extend Templates – {% extends %} tag

Testing Django App UI on Mobile Devices

Check Developing App UI on Mobile Device

Integrating Bootstrap with Django Templates

Django Templates with Bootstrap

Styling Forms with Crispy Forms in Django

Crispy Forms

Customizing Django Views to Change List Order

Customize Views (1) – Change List Order

Filtering Lists in Django Views

Customizing Views (2) – Filter Lists

Using Context in Django Views and Templates

Context

Adding Extra Context in Django Views

Customize Views (3) – Add Extra Context

Modularizing Django Templates with {% include %}

Modularize Templates – {% include %} tag

Managing Static Files in Django with {% static %}

Static Files in Development Environment – {% static %} tag

Configuring STATIC_URL and STATICFILES_DIRS in Django

STATIC_URL and STATICFILES_DIRS

Creating the Home Page with Index HTML in Django

Create Index HTML

Chapter 5. User Management

17 lessons

Chapter Information

Basics of User Management in Django

Chapter 5. User Management

Implementing User Authentication in Django

User Authentication

Overview of Django User Management Functions

Overview of User Management Functions

Developing User Management Functions in Django

User Management Function Development with Django

Building User Management Functions: Django Approaches

Approaches to Building User Management Functions in Django

Introduction to Django Allauth

Django Allauth (1) – Introduction

Setting Up Django Allauth: Installation and Initial Settings

Django Allauth (2) – Installation and Initial Settings

Email Verification with Django Allauth: Console Method

Django Allauth (3) – Email Verification via Console

Configuring Email Verification via Gmail with Django Allauth

Django Allauth (4) – Email Verification via Gmail

Enabling Social Login with GitHub in Django Allauth

Django Allauth (5) – Social Login with GitHub

Setting Up Social Login with Google via Django Allauth

Django Allauth (6) – Social Login with Google

Customizing Django Allauth Templates

Django Allauth (7) – Allauth Template File Setup

Styling Django Allauth with Bootstrap and Crispy Forms

Django Allauth (8) – Add Basic Styling with Bootstrap and Crispy Forms

Customizing Sign-in and Sign-up Pages in Django Allauth

Django Allauth (9) – Customize Sign-in and Sign-up Pages

Understanding Django's Built-in User Model

User Models

Restricting Page Access with LoginRequiredMixin

Login Required – LoginRequiredMixin

Displaying User Login Status Icon in Navigation Bar

User Login Status Icon on Navigation Bar

Basics of User Management in Django

Chapter 5. User Management

Implementing User Authentication in Django

User Authentication

Overview of Django User Management Functions

Overview of User Management Functions

Developing User Management Functions in Django

User Management Function Development with Django

Building User Management Functions: Django Approaches

Approaches to Building User Management Functions in Django

Introduction to Django Allauth

Django Allauth (1) – Introduction

Setting Up Django Allauth: Installation and Initial Settings

Django Allauth (2) – Installation and Initial Settings

Email Verification with Django Allauth: Console Method

Django Allauth (3) – Email Verification via Console

Configuring Email Verification via Gmail with Django Allauth

Django Allauth (4) – Email Verification via Gmail

Enabling Social Login with GitHub in Django Allauth

Django Allauth (5) – Social Login with GitHub

Setting Up Social Login with Google via Django Allauth

Django Allauth (6) – Social Login with Google

Customizing Django Allauth Templates

Django Allauth (7) – Allauth Template File Setup

Styling Django Allauth with Bootstrap and Crispy Forms

Django Allauth (8) – Add Basic Styling with Bootstrap and Crispy Forms

Customizing Sign-in and Sign-up Pages in Django Allauth

Django Allauth (9) – Customize Sign-in and Sign-up Pages

Understanding Django's Built-in User Model

User Models

Restricting Page Access with LoginRequiredMixin

Login Required – LoginRequiredMixin

Displaying User Login Status Icon in Navigation Bar

User Login Status Icon on Navigation Bar

Chapter 6. Deploy Django App

23 lessons

Chapter Information

Deploying Your Django App

Chapter 6. Deploy Django App

Basics of Django App Deployment

Overview of Django App Deployment (1)

Decision Making in Django App Deployment

Overview of Django App Deployment (2)

Key Steps for Deploying a Django App

Key Steps of Django App Deployment

Initial Setup with AWS Lightsail for Django Deployment

Hosting Service Initial Settings (1) – AWS Lightsail setup

Setting Up SSH Remote Connection for Deployment

Hosting Service Initial Settings (2) – SSH Remote Connection

Managing Resources Between Local and Remote Servers

Manage Local Computer and Remote Server Simultaneously

Local Development vs. Remote Production Environment

Tips for Managing Local Development and Remote Production Environment

Cloning Code to Webserver with GitHub

Hosting Service Initial Settings (3) – Clone Project Directory with GitHub

Setting Up a Production Database for Django

Production Database Setup

Configuring Django Settings for Multiple Environments

Django Production Settings (1) – Settings.py for Development and Production

Updating Django Production Settings

Django Production Settings (2) – Production Settings

Using django-environ for Django Configuration

Django Production Settings (3) – django-environ and .env file

Managing Static Files in Django Production

Static File Settings

Django Dependency Installation on Production Servers

Django and Dependency Installation on Production Server

Web vs. Application Server Dynamics in Django

Web Server and Application Server in Django

Setting Up Gunicorn as Your Django Application Server

Application Server Setup – Gunicorn

Configuring Nginx as a Web Server for Django

Web Server Setup – Nginx

Domain Configuration for Django Apps

Domain Setup

Implementing SSL with Certbot for Django

SSL Setup – Certbot

Configuring Email with SendGrid for Django

Email Setting – SendGrid

Adjusting Social Login for Django Production

Social Login for Production

Managing Local and Remote Environments in Django

Manage Local Development and Remote Production Environment

Deploying Your Django App

Chapter 6. Deploy Django App

Basics of Django App Deployment

Overview of Django App Deployment (1)

Decision Making in Django App Deployment

Overview of Django App Deployment (2)

Key Steps for Deploying a Django App

Key Steps of Django App Deployment

Initial Setup with AWS Lightsail for Django Deployment

Hosting Service Initial Settings (1) – AWS Lightsail setup

Setting Up SSH Remote Connection for Deployment

Hosting Service Initial Settings (2) – SSH Remote Connection

Managing Resources Between Local and Remote Servers

Manage Local Computer and Remote Server Simultaneously

Local Development vs. Remote Production Environment

Tips for Managing Local Development and Remote Production Environment

Cloning Code to Webserver with GitHub

Hosting Service Initial Settings (3) – Clone Project Directory with GitHub

Setting Up a Production Database for Django

Production Database Setup

Configuring Django Settings for Multiple Environments

Django Production Settings (1) – Settings.py for Development and Production

Updating Django Production Settings

Django Production Settings (2) – Production Settings

Using django-environ for Django Configuration

Django Production Settings (3) – django-environ and .env file

Managing Static Files in Django Production

Static File Settings

Django Dependency Installation on Production Servers

Django and Dependency Installation on Production Server

Web vs. Application Server Dynamics in Django

Web Server and Application Server in Django

Setting Up Gunicorn as Your Django Application Server

Application Server Setup – Gunicorn

Configuring Nginx as a Web Server for Django

Web Server Setup – Nginx

Domain Configuration for Django Apps

Domain Setup

Implementing SSL with Certbot for Django

SSL Setup – Certbot

Configuring Email with SendGrid for Django

Email Setting – SendGrid

Adjusting Social Login for Django Production

Social Login for Production

Managing Local and Remote Environments in Django

Manage Local Development and Remote Production Environment

Django Course for Beginners: A Comprehensive Course Guide

Who is this Django Course for?

tab-1
  • Complete beginners in Django
  • Developers who want to build a solid foundation in Django web application coding
  • Anyone who wants to build a web application quickly using Django

Introduction to Django Course

Django is one of the most popular web frameworks, especially for backend coding. Django is written in Python. Having Python knowledge is preferable for this course but not mandatory. You can also learn Python coding through Django if you are a beginner.

Throughout this course, you will learn:

  • Key Concepts of Django
  • How to make a simple app with Django
  • How to manage models and databases for the Django app
  • How to build user management functionalities using a Django library
  • How to deploy the Django app in the production environment

How to learn Django with this course?

Complete Web App Development Journey

You'l experience a complete build and launch of your own web application from start to finish with our expert step-by-step guidance.

By the end of this course, you’ll have built your own Django web application.

You will style your application using Bootstrap for a responsive design.

practice-website-image

A GitHub repository is available for the demo website code. Check the link below to access the repository.

Demo Code github
Designed for Complete Beginners

This course is designed for a complete beginner. By simply copying and pasting the code snippets into your text file, you can build your Django web app very easily.

practice-website-image

Easily copy lengthy code snippets! Simply click the copy icon in the top right corner of the code section.

Theory and Practice

We believe in a hands-on approach. Our course combines clear explanations of Django concepts with step-by-step code snippets.

theory-practice

This lets you learn the theory and immediately apply it through practical exercises, solidifying your understanding and building your skills effectively.

Hands-on App Deployment Guidance

This course covers a detailed approach for app deployment using AWS platform.

practice-website-image

At the end of this course, your app will be online and accessible from anywhere to anyone.