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

Опубликовано: 16 Июль 2020
на канале: 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


Смотрите видео How to make a website with Python and Django - MODELS AND MIGRATIONS (E04) онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Hacker Shack 16 Июль 2020, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 18,411 раз и оно понравилось 232 людям.