Generate Django database Models from SQL database (MySQL, PostgreSQL, and More)
Вставка
- Опубліковано 14 лип 2024
- In this video, we look at how we can Generate Django database Models from an SQL database such as MySQL, PostgreSQL, and more. This video uses the inspectdb management command for Django. This command allows us to generate Python Django model classes from an existing SQL database.
LEARN MORE:
docs.djangoproject.com/en/4.0...
FOLLOW ME:
github.com/jod35
/ jod35__
Please Buy me a coffee:
www.buymeacoffee.com/jod35
Timestamps:
0:00 Introduction
00:35 Creating the SQL database
02:33 Creating the Django project
06:13 Connecting to the SQL database
08:00 Using PyMySQL
09:13 Generating the Django Database models
12:28 Wrapping Up
#Python Django - Наука та технологія
Simple and straightforward. Thank you!
Glad it helped
What's up! You are I was looking for, thanks for your help, I appreciated!
On 8:00 best practice is to add PORT too :)
I am glad it helped
Thank you very much from Ghana
one love 😘
Thanks for watching
Awesome video man! That's exactly I was looking for!
I am glad it helped
thanks. saved a lot of time for me.
You're welcome! Glad to hear
Very simple to follow, thanks alot man!
You're welcome!
it works perfectly! thank you!
Glad it helped
king! thanks bro this was just what i needed
Really glad it helped
Thank you for clean explanation...
Glad it helped
thanks man you helped me alot i also have database in phpmyadmin and i want to use it as class based models thanks a ton brother 🥰
I am glad the video helped
Superb
Thanks for watching
Awesome
Glad it helped
THANK U BRO!!!!!
Welcome. Thanks for watching
Really good information and video, thank you bro👍🏻.
Kinda really funny how each time you forgot to use python instead of python3😂.
Yeah, I always get lost in the Linux way of doing stuff. Thanks for watching.😂
hey, thanks for the video! Do you need to use smth similar with Postgres when you write function Using PyMySQL.install... in settings file?
You do not need to as long as you have psycopg installed, it works automatically.
python Django good techer
Thanks for watching
Everything works fine until I get to the migrate part. I get this error ValueError: source code string cannot contain null bytes. Anyone knows how to fix it?
Please point to the exact timestamp in the video, I would love to help