Tags
Language
Tags
December 2024
Su Mo Tu We Th Fr Sa
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30 31 1 2 3 4

Djangoflix - Build A Netflix-Like Service In Django & Python

Posted By: ELK1nG
Djangoflix - Build A Netflix-Like Service In Django & Python

Djangoflix - Build A Netflix-Like Service In Django & Python
Last updated 4/2021
MP4 | Video: h264, 1280x720 | Audio: AAC, 44.1 KHz
Language: English | Size: 4.90 GB | Duration: 9h 33m

Learn advanced Django concepts to build better & more resilient web applications.

What you'll learn

Django Proxy Models

UnitTesting Models & Proxy Models

Techniques for building the fundamentals of a Netflix-like service (except the actual video streaming)

Implementing a 5-Star Rating in Django alone

Generic Foreign Keys & Generic Relations for flexible model relations

Implementing Tagged Items & Categories for Improved Content Discovery

Creating the conditions for a machine learning model (the way the data is structured)

Requirements

30 Days of Python (or equivalent python experience)

Try Django (or equivalent Django experience)

You know how to implement classes, functions, variables, iterators, and more in Python

Description

This is not a Netflix clone and not even close. Why? Netflix is a complex system of engineer that no one class could ever fully cover. If I told you that you could build a Netflix clone in less than 40 hours, I would be lying to you.Instead, this is a foundation of what a Netflix-like service could be. This foundation only matters as it serves a roadmap to understanding Django on a whole new level.Django is the most popular web framework in the world written in Python and for good reason: Django is incredibly simple and incredibly complex. Models, Views, Forms, User Auth and Templates are fundament to Django. After completing one of my Try Django series, you'll see that creating rich web applications is, well, pretty simple.  Models map to database tables. Views essentially handle a url and render templates. Forms help validate data and templates are essentially HTML with a little programming built it.If the paragraph above is unclear, this course is not for you.Django's complexity comes with the layers of abstraction you can start to build within your projects. To me, these layers come from Generic Foreign Keys & Proxy Models.  The complexity on the surface might be intimating (it was for me) but after you get familiar with them you'll come to find their complexity to be less daunting and potentially, no longer complex.The goal of this course is to introduce your to a number of concepts you may have never seen before while building the foundation for a service that could potentially grow into Netflix. Here's some topics we'll cover:Proxy ModelsGeneric Foreign KeysGeneric RelationsAutomated Unit TestingManyToMany Fields vs Foreign Keys vs Generic Foreign KeysThrough models for ManyToManyReverse RelationshipsCreating a Rating System (user ratings)Complex Search Lookups with Q LookupsRe-usuable model receiver functionsCustom template tag for rending a rating formand much more

Overview

Section 1: Getting Started

Lecture 1 Welcome

Lecture 2 Walkthrough

Lecture 3 Setup Project & Workspace

Lecture 4 Craft To Do List

Lecture 5 django-admin startproject djangoflix

Section 2: Videos app

Lecture 6 Videos App

Lecture 7 Our first migration & superuser

Lecture 8 Installing Our Model

Lecture 9 Your First TestCase

Lecture 10 Breaking Tests & Migration Basics

Section 3: Django Admin

Lecture 11 Video Model to Django Admin

Lecture 12 Django Admin Model Proxy

Lecture 13 Customize the Django Admin

Section 4: Django Models

Lecture 14 CharField Choices for Publishing Videos

Lecture 15 Test Publish State Options

Lecture 16 Slug, Timestamp, & Updated Fields

Lecture 17 Custom Managers & QuerySets

Lecture 18 Using Django Signals

Section 5: Foreign Keys

Lecture 19 Playlists & Foreign Keys

Lecture 20 Understanding Foreign Keys with the Admin

Lecture 21 Django-Managed Python Shell to explore Foreign Keys

Section 6: Many To Many Foreign Keys

Lecture 22 Related Names & ManyToManyField

Lecture 23 More on ManyToMany Fields

Lecture 24 Ordering ManyToMany with Through Model

Lecture 25 Tabular Inline in the Admin for ManyToMany

Lecture 26 Updated Tests for Through Model

Section 7: Playlists

Lecture 27 Playlists of Playlists

Lecture 28 TV Show Playlist Proxies for Admin

Lecture 29 Playlist Type Choices and Why

Lecture 30 Saving Playlist Type via Proxy

Section 8: Categories & Generic Foreign Keys

Lecture 31 Categories App

Lecture 32 ContentTypes & Generic Foreign Keys

Lecture 33 Reverse Relationships for Generic Foreign Keys

Lecture 34 Testing Generic Foreign Keys

Section 9: User-generated Ratings For Any Model

Lecture 35 User Ratings Model

Lecture 36 Test User Ratings

Lecture 37 QuerySet Aggregating for Average Rating in a Model

Section 10: Templates

Lecture 38 Templates & Base Template

Lecture 39 Movies & TV Show List Views

Lecture 40 List View Template

Lecture 41 Proxy Model Tests

Section 11: Routing, Signals, & More Views

Lecture 42 URL Routing

Lecture 43 Detail Views

Lecture 44 Get Object Exception Handling

Lecture 45 Unique Slug Utility & Signal Receiver

Lecture 46 Instance Methods for Videos

Lecture 47 Video Embeds in Templates

Lecture 48 Related Playlist Field

Section 12: Final Views

Lecture 49 Home View & Get Absolute URL

Lecture 50 Category Views

Lecture 51 Tagged Item Views

Lecture 52 Search View

Lecture 53 Unit Test Views

Section 13: Ratings & Custom Template Tags

Lecture 54 Inclusion Template Tag for Ratings

Lecture 55 Ratings Form

Section 14: Wrap up

Lecture 56 Thank you and next steps

Django Developers looking for a deeper dive into Django Model Capabilities,Beginner Django Developers needing to better understand Testing in a practical use case.