Create Your First Django Project
Learn how to build your first Django project. Understand the fundamentals of web development, from setting up the environment to creating dynamic, database-driven applications.
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.
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
There are no reviews yet.