Skip to main content
00:00/00:00
Lecture 44 of 164

Save( ) & Create( ) Method

Download Course (Free)

Course Content

0 / 164 completed
Section 1: Introduction3 videos

Introduction

1m

Django - What & Why

2m

Watch Before You Start

5m
Section 2: Installing Django & Course Setup6 videos

Installing Python

11m

Running Server

13m

Installing Django & Vscode

16m

Creating Our First Django Project & Analyzing It

17m

Django Apps - What & Why

9m

Creating Our First App & Analyzing It

8m
Section 3: URLs & Views10 videos

What Are URLs & Views

18m

How Everything Is Working Internally & Reason Behind URLs File Inside App

15m

Creating Our First URL & View

39m

Returning HTML As Response

21m

Implementing Logic For Showing Single Post

12m

Dynamic URLs

23m

Creating Our First Dynamic URL & Understanding Path Converters

23m

Exploring HttpResponse Subclasses

18m

Redirecting User

18m

Reverse Function & Named URLs

28m
Section 4: Templates, Context Processors & Static Files18 videos

Module Introduction

5m

Adding & Rendering Templates

22m

Understanding Template Settings & Templates Namespacing

24m

Django Template Language & Passing Context

29m

What Are Tags & For Tag

27m

If Else Tag

27m

For Empty Tag & For Loop Variables

24m

Filters In Django Template Language

28m

Showing Single Post

24m

URL Tag

29m

Understanding DIRS Settings

31m

Template Inheritance

48m

Working With Static Files

31m

Global Static Files

22m

Includes In Django Template Language

22m

Adding Templates & Styling To Our Project

56m

Custom 404 Page & Raising Http404

25m

Context Processors

51m
Section 5: Databases, ORM & Models22 videos

Databases Quick Primer

7m

Understanding Models

9m

Understanding ORM & Django ORM

8m

Showmigrations Command & Re-Migrations

21m

Migrations

36m

Creating Our First Model

34m

Save( ) & Create( ) Method

29mNow Playing

Connection.queries & Watching SQL Generated Behind The Scenes

14m

All() Method & Deep Diving Into QuerySets

23m

Understanding Get, Filter & Exclude QuerySet API Methods

29m

Querying Using AND OR Operators

14m

Limiting QuerySets

11m

Exploring More QuerySet API Methods

33m

Q Object

21m

Field Lookups

25m

Deleting Single Row & Multiple Rows

8m

QuerySets Are Lazy

21m

Updating Single Row & Multiple Rows

30m

Fetching & Rendering Data In Templates

23m

get object or 404

8m

Fetching Post From Database & Rendering It Inside Template

21m

Understanding and Deep Diving Into Aggregation

24m
Section 6: Admin & ModelAdmin6 videos

Creating Super User & Accessing Admin Panel

9m

Registering Model Inside Admin & str Method

13m

Changing Header Title & Site Title

5m

Listfilter & Search Functionality

14m

Exploring Admin Panel

16m

ModelAdmin Class & ModelAdmin Options

16m
Section 7: Working With Forms & ModelForms24 videos

Understanding Django Forms & Project Setup

19m

Understanding GET & POST Method

16m

Understanding CSRF Attack & CSRF Tokens

18m

Creating & Rendering Form

27m

Handling Form Submission

39m

Understanding How Form Submission Works Step by Step

17m

Exploring More Form Fields

23m

Core Field Arguments

33m

Output Styles

19m

Looping Through Form Fields

12m

Rendering Form Fields Manually

31m

Custom Validation On Complete Form

20m

Widgets In Django Forms

39m

Custom Validation On Single Form Field

21m

Styling Django Form Custom CSS Classes and IDs on Form Fields

36m

Introduction To ModelForms

3m

Styling Form Errors

21m

Creating Our First ModelForm

25m

Save( ) Method On ModelForm

6m

CRUD Using ModelForms

14m

CRUD Using Django Forms API

1h 22m

Custom Labels, Help Texts, Error Messages, and Widgets in Django ModelForms

21m

Using Clean Method & Custom Validators In ModelForms

18m

Fields & Exclude Attribute

10m
Section 8: Cookies In Django4 videos

Understanding Cookies & How Cookies Works

10m

Cookies Limitations

3m

Using Cookies With Render Function

11m

Working With Cookies In Django

53m
Section 9: Middlewares In Django6 videos

Understanding Middlewares & How They Work

9m

Custom Class Based Middleware

20m

Returning Response From Middleware & Middleware Ordering

17m

Custom Function Based Middleware

28m

Exploring Built-In Middlewares

6m

Understanding All Middleware Hooks

1h 8m
Section 10: Working With Sessions6 videos

Understanding Sessions & How Sessions Work

3m

Flush Method

12m

Exploring Session Methods

22m

Working With Sessions

46m

Session Modified

19m

Session Settings

12m
Section 11: Authentication & Authorization13 videos

Enabling Authentication & Creating An App

5m

How Authentication Works

6m

Customizing AuthenticationForm

25m

Customizing UserCreationForm & Getting More User Data While Registration

1h 9m

Fixing A Field

7m

Understanding & Implementing Login Functionality Step By Step

1h 6m

Implementing User Registration

50m

Implementing Logout Functionality Step By Step

12m

Authentication Data In Templates

28m

Limiting Access To Logged-In Users & Anonymous Users

36m

redirect authenticated user

6m

Using Built-In Authentication Views

42m

Customizing Built-In Authentication Views

42m
Section 12: Pagination3 videos

Pagination Logic In Views

35m

Pagination Logic In Template

57m

Orphans & allow empty first page arguments

11m
Section 13: Relationships In Django11 videos

Exploring & Understanding Different Relationship Types

6m

Understanding & Adding One-To-One Relationship

17m

Related Objects Query

8m

Querying Using Relationships

21m

on delete Argument

34m

Adding Many-To-One Field

54m

Querying Using Many To One & Related Object Query

18m

Understanding & Adding Many-To-Many Relationship

20m

Working With Many-To-Many Field

34m

Adding User Field To Comments & Rendering Comments On Post Page

36m

Showing Tags On Post Page

31m
Section 14: Handling File Uploads6 videos

Creating Model With FieldField

10m

Project Setup

18m

Using ImageField

11m

Creating Form & Handling File Upload

54m

Adding & Serving Post Image In Blog Project

37m

Serving Files

54m
Section 15: Adding More Features4 videos

Not Showing Pagination If Less Posts

14m

Adding Search Functionality

57m

Improving Search Functionality

28m

Handling Root URL

21m
Section 16: Deep Diving Into Class Based Views (CBVs)13 videos

Deep Dive Into Class Based Views

2m

TemplateView (Base Views)

25m

RedirectView (Base Views)

17m

View Class (Base Views)

55m

ListView (Generic Display Views)

47m

FormView (Generic Edit Views)

25m

DetailView (Generic Display Views)

34m

CreateView (Generic Edit Views)

31m

UpdateView (Generic Edit Views)

23m

DeleteView (Generic Edit Views)

25m

Converting Blog Project Function Based Views Into Class Based Views Part 2

34m

Pagination With Class Based Views

43m

Converting Blog Project Function Based Views Into Class Based Views

1h 22m
Section 17: Using ChatGPT To Boost Your Career & Django Development9 videos

ChatGPT Small Introduction

6m

Prompts Only For Django Developers

13m

Using ChatGPT For Project Setup

18m

What Is Prompt & Best Prompt Formula

21m

Using ChatGPT For Generating Views

13m

Using ChatGPT For Debugging

18m

Using ChatGPT For Generating Complex Database Queries

8m

Using ChatGPT For Models

19m

Using ChatGPT For Model Relationships

8m