Discover new skills with $120 off courses from industry experts. Save now.

Packt

Django Web Development

Included with Coursera Plus

Learn more

Gain insight into a topic and learn the fundamentals.
Intermediate level

Recommended experience

1 week to complete
at 10 hours a week
Flexible schedule
Learn at your own pace
Gain insight into a topic and learn the fundamentals.
Intermediate level

Recommended experience

1 week to complete
at 10 hours a week
Flexible schedule
Learn at your own pace

What you'll learn

  • Set up and configure a Django project from scratch.

  • Understand and apply the MVC pattern within the Django framework

  • Create and manage databases and models with Django migrations.

  • Build dynamic web pages using Django templates and Bootstrap.

Details to know

Shareable certificate

Add to your LinkedIn profile

Recently updated!

September 2025

Assessments

13 assignments

Taught in English

See how employees at top companies are mastering in-demand skills

 logos of Petrobras, TATA, Danone, Capgemini, P&G and L'Oreal

Build your subject-matter expertise

This course is part of the Python - Complete Python, Django, Data Science and ML Guide Specialization
When you enroll in this course, you'll also be enrolled in this Specialization.
  • Learn new concepts from industry experts
  • Gain a foundational understanding of a subject or tool
  • Develop job-relevant skills with hands-on projects
  • Earn a shareable career certificate

There are 11 modules in this course

In this module, we will explore the foundational elements of the Django web framework, starting with an overview of its features and how it structures a web project. You will also gain an in-depth understanding of the Model-View-Controller (MVC) architecture and how Django uniquely implements this pattern. Additionally, you’ll learn how to set up a Django project in the PyCharm IDE, laying the groundwork for your development journey.

What's included

4 videos2 readings1 assignment1 plugin

In this module, we will guide you through creating a new Django project, explaining its default structure and key components. You will gain insight into the role of the manage.py file and how it aids in managing your Django project. Additionally, we will show you how to start and verify the Django development server, and explore key settings and routing configurations essential for your project.

What's included

5 videos1 assignment1 plugin

In this module, we will walk you through the process of creating a new Django application, using the 'Shop' app as a practical example. You will explore the components and files generated within the app, understand why the project is named "base," and learn how to create view functions that handle HTTP requests. We’ll also demonstrate how to link view functions to specific URLs and integrate the app’s routes into the main project routing configuration.

What's included

6 videos1 assignment1 plugin

In this module, we will guide you through the process of working with databases and migrations in Django. You’ll start by executing default migrations, creating a superuser, and developing models for 'Course' and 'Category' entities. We’ll show you how to apply migrations, modify database models, and create instances of 'Category' and 'Course' both in the Django shell and admin interface. Additionally, you’ll learn how to customize the way these entities are displayed in the admin panel and serve data as HTTP responses to client requests.

What's included

11 videos1 assignment1 plugin

In this module, we will explore the process of creating and using templates in Django. You will learn how to design HTML templates, integrate them with Django view functions, and populate the templates with dynamic data from the database. We will also break down the workflow connecting templates, views, and models in Django. Finally, you'll enhance the look of your templates by adding the Bootstrap CSS library for a more polished user interface.

What's included

5 videos1 assignment1 plugin

In this module, we will guide you through the process of extending templates in Django. You’ll start by creating a base HTML template that serves as the foundation for consistent UI elements across multiple views. We’ll show you how to integrate a navigation bar into this base template for easy site-wide access. Additionally, we’ll walk you through a hands-on challenge and solution for dynamically updating the title of web pages based on the content being displayed.

What's included

4 videos1 assignment1 plugin

In this module, we will explore how to create multiple routes and view functions in Django. You will start by setting up a specific route to display individual course detail pages and develop a corresponding view function to fetch and display the course information. We’ll present a challenge for designing an HTML template for the course page, followed by a guided solution. Finally, we’ll show you how to handle cases where a course is not found in the database by returning a 404 error response.

What's included

5 videos1 assignment1 plugin

In this module, we will dive into routing between pages in Django, covering how to use relative and absolute paths to navigate between different views. You’ll learn how to set up routing based on URL pattern names and the significance of app naming in the routing configuration. We will guide you through adding a navigation link to the "All Courses" page, reorganizing the project structure by moving the templates folder, and refining the 'Course' model to meet evolving requirements. Finally, we’ll introduce you to API development by installing the django-tastypie library.

What's included

8 videos1 assignment1 plugin

In this module, we will walk you through the creation of a dedicated Django application tailored for API development. You’ll learn how to design data models for the API, set up routing for the application's endpoints, and test the functionality of the API service. Additionally, we will cover how to implement versioning for the API to support future updates, and show you how to use Postman to send GET and DELETE requests to evaluate your API’s responses.

What's included

6 videos1 assignment1 plugin

In this module, we will guide you through managing authentication for API requests in Django. You will learn how to create unique API keys for users and set up authentication and authorization mechanisms, especially for DELETE requests. We will also cover how to allow public access for GET requests, create new resources via POST requests, and ensure correct data relationships between 'Course' and 'Category' using the 'Hydrate' method. Additionally, we’ll introduce the 'Dehydrate' method to modify data before sending it to the client, and wrap up the module by reviewing GET, POST, and DELETE request handling.

What's included

7 videos1 assignment1 plugin

In this module, we will focus on refining and optimizing your Django project setup. You’ll learn how to refactor routing configurations for the API application and set up an index route, integrating it into the site’s navigation bar. Additionally, we will guide you through modifying the Django admin panel to enhance its usability and organization. The module will conclude with a recap of the key achievements from the Django courses project, reinforcing what you’ve learned.

What's included

4 videos1 reading3 assignments1 plugin

Earn a career certificate

Add this credential to your LinkedIn profile, resume, or CV. Share it on social media and in your performance review.

Instructor

Packt - Course Instructors
Packt
934 Courses199,977 learners

Offered by

Packt

Explore more from Software Development

Why people choose Coursera for their career

Felipe M.
Learner since 2018
"To be able to take courses at my own pace and rhythm has been an amazing experience. I can learn whenever it fits my schedule and mood."
Jennifer J.
Learner since 2020
"I directly applied the concepts and skills I learned from my courses to an exciting new project at work."
Larry W.
Learner since 2021
"When I need courses on topics that my university doesn't offer, Coursera is one of the best places to go."
Chaitanya A.
"Learning isn't just about being better at your job: it's so much more than that. Coursera allows me to learn without limits."
Coursera Plus

Open new doors with Coursera Plus

Unlimited access to 10,000+ world-class courses, hands-on projects, and job-ready certificate programs - all included in your subscription

Advance your career with an online degree

Earn a degree from world-class universities - 100% online

Join over 3,400 global companies that choose Coursera for Business

Upskill your employees to excel in the digital economy

Frequently asked questions