Découvrez de nouvelles compétences avec 30 % de réduction sur les cours dispensés par des experts du secteur. Économisez maintenant.

Ce cours n'est pas disponible en Français (France)

Nous sommes actuellement en train de le traduire dans plus de langues.
Packt

Django Web Development

Inclus avec Coursera Plus

Obtenez un aperçu d'un sujet et apprenez les principes fondamentaux.
niveau Intermédiaire

Expérience recommandée

1 semaine à compléter
à 10 heures par semaine
Planning flexible
Apprenez à votre propre rythme
Obtenez un aperçu d'un sujet et apprenez les principes fondamentaux.
niveau Intermédiaire

Expérience recommandée

1 semaine à compléter
à 10 heures par semaine
Planning flexible
Apprenez à votre propre rythme

Ce que vous apprendrez

  • 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.

Compétences que vous acquerrez

  • Catégorie : Application Programming Interface (API)
  • Catégorie : Authorization (Computing)
  • Catégorie : Databases
  • Catégorie : Relational Databases

Détails à connaître

Certificat partageable

Ajouter à votre profil LinkedIn

Récemment mis à jour !

septembre 2025

Évaluations

13 devoirs

Enseigné en Anglais

Découvrez comment les employés des entreprises prestigieuses maîtrisent des compétences recherchées

 logos de Petrobras, TATA, Danone, Capgemini, P&G et L'Oreal

Élaborez votre expertise du sujet

Ce cours fait partie de la Spécialisation Python - Complete Python, Django, Data Science and ML Guide
Lorsque vous vous inscrivez à ce cours, vous êtes également inscrit(e) à cette Spécialisation.
  • Apprenez de nouveaux concepts auprès d'experts du secteur
  • Acquérez une compréhension de base d'un sujet ou d'un outil
  • Développez des compétences professionnelles avec des projets pratiques
  • Obtenez un certificat professionnel partageable

Il y a 11 modules dans ce cours

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.

Inclus

4 vidéos2 lectures1 devoir1 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.

Inclus

5 vidéos1 devoir1 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.

Inclus

6 vidéos1 devoir1 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.

Inclus

11 vidéos1 devoir1 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.

Inclus

5 vidéos1 devoir1 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.

Inclus

4 vidéos1 devoir1 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.

Inclus

5 vidéos1 devoir1 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.

Inclus

8 vidéos1 devoir1 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.

Inclus

6 vidéos1 devoir1 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.

Inclus

7 vidéos1 devoir1 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.

Inclus

4 vidéos1 lecture3 devoirs1 plugin

Obtenez un certificat professionnel

Ajoutez ce titre à votre profil LinkedIn, à votre curriculum vitae ou à votre CV. Partagez-le sur les médias sociaux et dans votre évaluation des performances.

Instructeur

Packt - Course Instructors
Packt
962 Cours203 634 apprenants

Offert par

Packt

En savoir plus sur Software Development

Pour quelles raisons les étudiants sur Coursera nous choisissent-ils pour leur carrière ?

Felipe M.
Étudiant(e) depuis 2018
’Pouvoir suivre des cours à mon rythme à été une expérience extraordinaire. Je peux apprendre chaque fois que mon emploi du temps me le permet et en fonction de mon humeur.’
Jennifer J.
Étudiant(e) depuis 2020
’J'ai directement appliqué les concepts et les compétences que j'ai appris de mes cours à un nouveau projet passionnant au travail.’
Larry W.
Étudiant(e) depuis 2021
’Lorsque j'ai besoin de cours sur des sujets que mon université ne propose pas, Coursera est l'un des meilleurs endroits où se rendre.’
Chaitanya A.
’Apprendre, ce n'est pas seulement s'améliorer dans son travail : c'est bien plus que cela. Coursera me permet d'apprendre sans limites.’
Coursera Plus

Ouvrez de nouvelles portes avec Coursera Plus

Accès illimité à 10,000+ cours de niveau international, projets pratiques et programmes de certification prêts à l'emploi - tous inclus dans votre abonnement.

Faites progresser votre carrière avec un diplôme en ligne

Obtenez un diplôme auprès d’universités de renommée mondiale - 100 % en ligne

Rejoignez plus de 3 400 entreprises mondiales qui ont choisi Coursera pour les affaires

Améliorez les compétences de vos employés pour exceller dans l’économie numérique

Foire Aux Questions