Python Django Project - Ecommerce Store (2021) - Part 1 - Building models, views and testing

preview_player
Показать описание
Welcome to the Django Ecommerce Projectv1 2021. This Django project is aimed at getting you started with Django and moving you into more advanced topics as the project progresses. This first tutorial is most definitely aimed at Django beginners where we cover the basics of developing Django views, URLS, models and get started with testing our application. By the end of this tutorial you will have a working product catalogue which will form the basis of our Ecommerce application.

Timeline:
Introduction & Getting Started
====
00:00 Project Introduction
04:38 Preview of final application

Development
====
05:52 Visual Studio Extensions
07:38 Check Python Version
07:42 Create Virtual Environment
08:30 Install Django
08:52 Start Django Project
09:40 Create New Django App
10:42 Building the Models
29:37 Install Pillow
30:02 Make Initial Migrations
31:43 Setup the Media Folder for Saving Images
36:39 Django Admin Configuration

Testing Part 1 - Testing Models
====
44:38 Introduction to Django Python Testing
46:47 How to run a test in Django
49:25 Working with Coverage
53:36 A Test Anatomy
01:03:54 Building Model Tests

Developing URLs and Views
====
01:11:06 Intro and Visualising URLs, Views, Templates and Models
01:15:13 Configuring the URL Files
01:19:16 Building the Home View
01:22:59 Configure the Template Settings
01:23:51 Django Templating
01:30:44 Integrating Bootstrap to the Project
01:35:11 Developing the base and home page with Bootstrap
01:37:37 Developing the Category view
01:38:36 Making Data Available - Context Pre-processor
01:40:46 Building the Products Data Grid
01:45:04 Building the Product Single Page View
01:55:25 Building Dynamic Links - Linking Pages and Categories
01:59:03 Building the Category View and Template

Testing Part 2 - Testing Views
====
02:07:22 Building Tests for Views
02:11:01 How to Skip Tests
02:13:03 Using the Test Client
02:15:53 Understanding HTML Response Codes
02:20:34 Using HttpRequest() to Test HTML Code
02:31:49 Using Request Factory Introduction and Test Example

PEP 8 Python Style Guide
====
02:37:10 Introduction to PEP 8
02:39:43 Flake8 Install and Basic Usage
02:43:18 Installing and using isort

Code Repository: Part 1

✨ Support us - join us as a very academy member

👍SUBSCRIBE to get more free tutorials, courses and code snippets!

👍👍Follow us on Facebook

👍👍👍Follow use on Twitter:
Рекомендации по теме
Комментарии
Автор

Hi, in 1h i learn more than 3 weeks on other vidéos "tutorials". Dont stop and continue, it's absolutly perfect for me. Thanks to your dedicated work!

NightWaveStudios
Автор

You sir, are a phenomenal instructor! I can't stress enough how good the quality of your explanations are. Django G.O.A.T instructor!

emmanuelavilavaldez
Автор

This channel is one of the best I have seen for teaching Django, thank you

saeedmhmoud
Автор

One of the best Django tutorials i found on YouTube so far.
This is basically the video version of Antonio Melé's book - Django 3 By Example Chapter 7-9. (such a great book btw)

tsegawkebede
Автор

40 mins in. This is the Django tutorial I've been dreaming of. Hats off, mate!

GraigRussell
Автор

I've watched 21 minutes so far and I had to stop and come comment because your are just amazing at teaching! The way you explain and make things so easy and fun is wonderfull! Thanks a lot for the content!

danielrossi
Автор

Keep doing this thing! Your explaining is amazing.. I ve watched a lot of videos about django, but nobody explains it better! Thank a lot!

caughtbyenot
Автор

This tutorial playlist is PHENOMENAL. Thank you SO much for this quality in vids my god

itsRemco
Автор

Actually i learned django from half a dozen channels but in this channel i realized that it gives you whole knowledge of django framework from beginner to advance level. In his tutorials you learn everthing about django.

pratikpatil
Автор

out of all the Django teachers out there, you are perhaps the best, lovin' your simple blog series and now enjoying the e-commerce one. thank you very much, and its a pleasure learning from you....

janirico
Автор

About 2 hours in and this is already the best tutorial series on learning ecom with Django. I spent about 13 hours on a udemy course that simply breezed through all of these crucial concepts, but you my friend, teach everything making sure to explain what it is you are doing and why. You are an absolute gift to us learning Django, thank you so much for this, I am so excited to continue learning with you in this series!!

Googlybearsenia
Автор

38:11 Small correction: @register(Modelname) tells Django that you want this model to appear automatically in the admin panel. The @register way of registering the model allows you add special features in the admin panel, search as a search function, sorting, or for extra fields to appear in the table. In other words, it allows you to start that class and say things like list_display. There is another way of registering models, which is commonly used, but it doesn't allow you to add these extra features. It is especially useful if you have fields that are best prepoplated when created, but you want to be editable, like the slug field.

yuriyarin
Автор

This channel is amazing! no one teach testing is a full stack course! just amazing. thanks so much

wilmermolina
Автор

Best Django tutorial I have ever seen.

aplmhd
Автор

you are a phenomenal teacher when it comes to Django. I wish you all the success in the world! thank you so much <3

codewithfarhad
Автор

One of its type of video.
Almost nobody teaches testing.

MrRahul
Автор

Been looking for a tutorial with this level of detail for a long time, keep up the fantastic content!

hansubkim
Автор

I think this the best tutorial have come across since I started learning Django. It answered most of the question am looking for answers.

williamrupert
Автор

no idea how I found this channel but when I looked into your videos I was like "woooaaa man, hold up, this all I need" :D

BelethKing
Автор

i wish this would get more views man, he deserves it, and people would get the appropriate knowledge to.

kaleab_derb