How to make a website with Python and Django - MODELS AND MIGRATIONS (E04)

Published: 16 July 2020
on channel: Hacker Shack
18,411
232

If you missed the first part, watch it here:    • How to make a website with Python and...  

Welcome to my full tutorial series about how to build a website! I asked our instagram followers what they wanted to see from our channel in the next month and the overwhelming response was "we want to see how to make a website using Django and Python". In this episode, I'll show you how to create a new app and register some models so that we can store extra information about a user account in the database. I'll also show you how to run migrations so that we can update the database. Finally, we'll use Django Admin to add some data to the database.

This tutorial will be several parts long. I'll go in-depth on how to create a Django server with Python, setup a database, create web pages/style them with css, and even deploy the application to the cloud.

We're going to use four different technologies in this tutorial:
1. Django - for our web server
2. Postgres - for our database
3. Docker - to package the application
4. Kubernetes - to manage deployment in the cloud

All of the code for this project will be available on our Patreon page:
  / python-django-38642815  

I hope. you guys enjoy!

0:00 - Intro
0:34 - Tools
1:50 - Create Apps
4:30 - Reorganize Routes
9:25 - Migrations Overview
10:45 - Create a Model
16:17 - Make Migrations
18:47 - Django Admin
28:00 - Profile HTML Template Changes
33:47 - Outro


Watch video How to make a website with Python and Django - MODELS AND MIGRATIONS (E04) online without registration, duration hours minute second in high quality. This video was added by user Hacker Shack 16 July 2020, don't forget to share it with your friends and acquaintances, it has been viewed on our site 18,411 once and liked it 232 people.