Learn your way! Get started

Django for Python Developers, Part 4 of 8: Model Forms and Views

with expert Bharath Thipireddy


Watch trailer


Course at a glance

Included in these subscriptions:

  • Dev & IT Pro Video
  • Dev & IT Pro Power Pack

Release date 12/5/2019
Level Beginner
Runtime 1h 7m
Closed captioning N/A
Transcript N/A
eBooks / courseware N/A
Hands-on labs N/A
Sample code Included
Exams Included


Enterprise Solutions

Need reporting, custom learning tracks, or SCORM? Learn More



Course description

Django is the most widely used Web Application Development framework in the industry today. Django makes it super easy to create production ready web applications. This course discusses Model Forms, how to add a project template, function based views and testing.

Prerequisites

Knowledge of Python

Meet the expert

Bharath Thippireddy is an entrepreneur, software architect, public speaker, and trainer. Bharath is a Sun Certified Developer, Web Component Developer, Business Component Developer, and a Web Services Developer. While working for companies like Oracle, HP, TCS, Siemens, and NCR; Bharath has architected applications using Java, JEE, JavaScript, and SOA technologies. He loves learning new things both in technology and personal development and shares them on YouTube and his web site - Sharing is learning!. He has mentored students in classroom trainings, as well as in the corporate world, both in India as well as in USA. He has spoken on technical topics at several agile conferences. While in India he also voluntarily teaches interview and soft skills at Vivekananda Kendra.

Course outline



Model Forms and Views

Model Forms (20:21)
  • Introduction (00:08)
  • Introduction (01:03)
  • Hands On Steps (01:25)
  • Create project and model (03:16)
  • Create Model Form (02:15)
  • Create Views (02:58)
  • Create Add Project View (03:14)
  • Create Index Template (01:17)
  • Create List Projects Template (04:34)
  • Summary (00:08)
Add Project Template (13:18)
  • Introduction (00:08)
  • Create the Add Project Template (01:45)
  • Configure URLs (01:10)
  • Configure MYSQL (02:01)
  • Run Migrations (02:14)
  • Refactor and Run the Application (03:00)
  • Django tables from migrate (02:50)
  • Summary (00:08)
Function Based Views (17:11)
  • Introduction (00:08)
  • Hands On Steps (00:36)
  • Create the Project (04:22)
  • Implement READ (03:47)
  • Run the Migrations (02:39)
  • Test READ (01:31)
  • Implement Create (03:59)
  • Summary (00:08)
Test Create (16:39)
  • Introduction (00:08)
  • Test Create (01:40)
  • Delete (04:41)
  • Update View (03:43)
  • Update Template (02:42)
  • Test Update (01:45)
  • Using DJango form for Update (01:50)
  • Summary (00:08)