Build web apps with Django models, views, forms & templates

Offered By
Coursera Project Network
In this Guided Project, you will:

learn how to share models among various apps of a Django project

learn how to create Django templates

learn how to use FormModel objects and templates to facilitate the creation of HTML forms

Clock2 hours
IntermediateIntermediate
CloudNo download needed
VideoSplit-screen video
Comment DotsEnglish
LaptopDesktop only

In this 2-hour long project-based course, you will learn how to create Django views which render HTML templates, and you will learn the basics of programming Django templates. You will create a model in an app, and use that model in another app. You will create a ModelForm object that will help you render your form. Note: This course works best for learners who are based in the North America region. We’re currently working on providing the same experience in other regions.

Skills you will develop

Django (Web Framework)Python ProgrammingWeb ApplicationModel View Controller (Mvc)

Learn step-by-step

In a video that plays in a split-screen with your work area, your instructor will walk you through these steps:

  1. Create a new Django project, its apps and setup the project

  2. Create the Book model and register it in the admin

  3. Create the frontend view function and re-use the backend Book model class

  4. Create the frontend view template

  5. Create the backend view function and the BookForm class

  6. Create the backend view template and demo the project

How Guided Projects work

Your workspace is a cloud desktop right in your browser, no download required

In a split-screen video, your instructor guides you step-by-step

Frequently asked questions

Frequently Asked Questions

More questions? Visit the Learner Help Center.