🚀 Master the language of AI with our brand new course: "Prompt Engineering for Everyone" Learn more

Offered By: IBM

Create Your First Django Project

In this guided project, you will set up your first Django project, create an application, and discover how to make changes with database migrations. Then, working with an online course app example, you will create Django models with One-To-One, One-To-Many, and Many-To-Many relationships; practice create, read, update, and delete (CRUD) operations on Django objects; and discover how to run queries with filters on a Django database.

Continue reading

Guided Project

Cloud Development

761 Enrolled
4.1
(166 Reviews)

At a Glance

In this guided project, you will set up your first Django project, create an application, and discover how to make changes with database migrations. Then, working with an online course app example, you will create Django models with One-To-One, One-To-Many, and Many-To-Many relationships; practice create, read, update, and delete (CRUD) operations on Django objects; and discover how to run queries with filters on a Django database.

Django is a high-level web application framework for Python, which is an open source general purpose programming language. Django contains an object-relational mapping (ORM) layer that enables you to interact with databases by using object-oriented programming (OOP) languages.

In this guided project you will discover how to set up a Django project and create a Django ORM application. You will gain experience using PostgreSQL, an open source relational database management system (RDBMS) that is one of the main databases that Django uses, as well as the Psycopg database adapter and the pgAdmin administration and development platform tool. You will discover how to define and activate a Django model and how to make changes by performing database migrations. Working in the context of an online course app example, you will practice appending One-To-One, Many-To-Many, and One-To-Many relationships to a Django User model by running create, read, update, and delete (CRUD) operations. Then you will run queries to explore working with filters and parameters.

This guided project will give you a solid foundation for creating and working with Django ORM applications to perform CRUD operations and queries on PostgreSQL databases.

A Look at the Project Ahead
Once you have completed this project, you'll be able to:
  • Get familiar with Theia IDE and Django
  • Setup a standalone Django ORM app
  • Create your first Django project and application
  • Create and test your first Django model
  • Create Django Models with One-To-One, One-To-Many, and Many-To-Many relationships
  • Query model objects with filters
  • Delete and update objects

What You’ll Need
Just a web browser and an IBM Cloud account!

Everything else is provided to you via the IBM Skills Network Labs environment. This platform works best with current versions of Chrome, Edge, Firefox, Internet Explorer, or Safari.

Knowledge of command line interface (CLI) usage will be helpful.

Your Instructor
Yan Luo

Estimated Effort

45 Minutes

Level

Beginner

Skills You Will Learn

Django

Language

English

Course Code

GPXX0GO7EN

Tell Your Friends!

Saved this page to your clipboard!

Upskill with exclusive learning resources

Start your career and master the latest technologies with expert support!

Have questions or need support? Chat with me 😊