This video demonstrates the use of the #django framework in creating our first model and registering it in the admin site, form creation, and inclusion in the views and templates.
Previous video: • Python Django Tutorial - Customizing...
Django tutorial playlist: • Python Django Tutorial
====================
TL;DR
⭐️ Video Contents⭐️
⌨️ (0:00:00) Checking docker containers' status
⌨️ (0:01:22) Creating the first model
⌨️ (0:04:17) Updating the database via migrations
⌨️ (0:06:20) Register models with Django admin
⌨️ (0:11:11) Creating contact form with Form class
⌨️ (0:14:22) Creating contact form view
⌨️ (0:17:35) Validating the contact form
⌨️ (0:23:22) Adding contact form in template
⌨️ (0:24:30) Configuring email settings
====================
Django models: https://docs.djangoproject.com/en/4.1...
Model field types: https://docs.djangoproject.com/en/4.1...
Django forms: https://docs.djangoproject.com/en/4.1...
Form field types: https://docs.djangoproject.com/en/4.1...
Forms and class-based-views: https://docs.djangoproject.com/en/4.1...
Cross-Site Request Forgery: https://docs.djangoproject.com/en/4.1...
Django email sending: https://docs.djangoproject.com/en/4.1...
====================
The code used in this series can be found at:
https://github.com/jkaris/my-demo-web...
====================
Reach me through:
My Website - https://josephkariuki.com/
Twitter - / jkariscodes
Instagram - / codekaraoke
#python #django #database #email #smtp