Web Dev Roadmap for Beginners (Free!): https://bit.ly/DaveGrayWebDevRoadmap
Learn how to use the Python Django ORM in this intro and tutorial. ORM is an acronym for Object Relational Mapping. The Django ORM helps your Python code interact with your database.
⭐ Become a full-stack dev with Zero To Mastery Courses:
- The Complete Python Developer: https://bit.ly/CompPythonDev
- Complete Machine Learning & Data Science: https://bit.ly/CompMachineLearning
- Junior to Senior Dev Roadmap: https://bit.ly/WebDevRoadmap-JrtoSr
Subscribe https://bit.ly/3nGHmNn
Course Updates https://courses.davegray.codes/
Discord https://discord.gg/neKghyefqh
Buy Me A Coffee https://www.buymeacoffee.com/davegray
Follow Me On Social Media:
GitHub: https://github.com/gitdagray
X: https://x.com/yesdavidgray
LinkedIn: https://www.linkedin.com/in/davidagray/
Blog: https://www.davegray.codes/
All Resources for this Django Course: https://github.com/gitdagray/django-course
YouTube Playlist for this Django Tutorial Series: https://www.youtube.com/playlist?list=PL0Zuz27SZ-6NamGNr7dEqzNFEcZ_FAUVX
Python Django ORM
(00:00) Intro
(00:05) Welcome
(00:25) Getting Started
(01:02) What is an ORM?
(01:38) Django Interactive Console
(02:09) Creating and Saving a Post
(03:51) Adding a Method
(05:33) Saving a 2nd Post to the Database
(06:28) Exiting the Shell
Tutorial References:
Django Official Site: https://www.djangoproject.com/
Django Model field reference: https://docs.djangoproject.com/en/5.0/ref/models/fields
Python Official Site: https://www.python.org/
Visual Studio Code Official Site: https://code.visualstudio.com/
Visual Studio Code: https://code.visualstudio.com/
Was this Python Django ORM tutorial helpful? If so, please share. Let me know your thoughts in the comments.
#python #django #orm