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

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

LearnNow Online
Updated Jul 20, 2020

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.

Each LearnNowOnline training course is made up of Modules (typically an hour in length). Within each module there are Topics (typically 15-30 minutes each) and Subtopics (typically 2-5 minutes each). There is a Post Exam for each Module that must be passed with a score of 70% or higher to successfully and fully complete the course.


Prerequisites

Knowledge of Python


Meet the expert

Bharath Thipireddy

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.

Video Runtime

67 Minutes

Time to complete

120 Minutes

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)