Learn your way! Get started

Django for Python Developers, Part 2 of 8: Templates and Models

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 29m
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 will introduce templates, tags and models with views.

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



Templates and Models

Intro to Templates (22:00)
  • Introduction (00:08)
  • Introduction (00:46)
  • Steps (01:31)
  • Create Template Settings (03:24)
  • Create a Template and View (03:10)
  • Configure the URL and TEST (02:31)
  • Template Tags (03:21)
  • Using template tags (02:38)
  • Rendering Employee Information (04:20)
  • Summary (00:08)
Using Template Tags (14:53)
  • Introduction (00:08)
  • Using Static Files (02:24)
  • Insert an Image (04:11)
  • Use a CSS (03:33)
  • Create ProductTemplates Project (04:28)
  • Summary (00:08)
Create the Template (12:18)
  • Introduction (00:08)
  • Create the templates (05:54)
  • Create the Views (02:57)
  • Map the URLs and Test (03:09)
  • Summary (00:08)
Models (19:24)
  • Introduction (00:08)
  • Introduction (02:29)
  • Steps (00:54)
  • Create a Project (03:44)
  • Using MySql Database (03:26)
  • Create the Model (02:48)
  • Converting Model to DB Tables (05:44)
  • Summary (00:08)
Use Model in view (21:12)
  • Introduction (00:08)
  • Use the model in view (02:36)
  • Create the template (04:21)
  • Run and Test (03:02)
  • Django Admin UI (03:23)
  • Adding Model to the Admin UI (02:23)
  • Displaying Model fields on the UI (02:14)
  • Using SqlLite DB (02:54)
  • Summary (00:08)