Packt
Django (Python) Web Framework - The Comprehensive Guide

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

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

Django (Python) Web Framework - The Comprehensive Guide

Inclus avec Coursera Plus

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

Expérience recommandée

18 heures pour terminer
3 semaines à 6 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

18 heures pour terminer
3 semaines à 6 heures par semaine
Planning flexible
Apprenez à votre propre rythme

Ce que vous apprendrez

  • Build full-stack web applications using Django's Model-View-Template architecture

  • Manage databases and handle migrations using Django’s ORM

  • Create user-friendly interfaces with templates, Bootstrap, and dynamic routing

  • Deploy your Django application to Heroku for real-world use

Détails à connaître

Certificat partageable

Ajouter à votre profil LinkedIn

Récemment mis à jour !

janvier 2025

Évaluations

16 devoirs

Enseigné en Anglais
Emplacement réservé
Certificat professionnel Coursera

Obtenez un certificat professionnel

Ajoutez cette qualification à votre profil LinkedIn ou à votre CV

Partagez-le sur les réseaux sociaux et dans votre évaluation de performance

Emplacement réservé
Certificat professionnel Coursera

Il y a 17 modules dans ce cours

In this module, we will set the stage for your Django learning journey by introducing the course structure and its objectives. You will gain an overview of the Django framework, its key features, and how it simplifies web development. Additionally, we will explore the basics of web architecture, focusing on server-client interactions, to provide a solid foundation for the concepts to follow.

Inclus

3 vidéos1 lecture

In this module, we will guide you through setting up a development environment tailored for Django projects. You will learn how to install Python on both Windows and macOS, download and configure Visual Studio Code, and install essential Python extensions. By the end of this module, you will have successfully run your first Python program in VS Code, ensuring your environment is ready for advanced development tasks.

Inclus

5 vidéos1 devoir

In this module, we will take a deep dive into the core concepts and architecture of the Django web framework. You will set up Django, explore its project structure, and learn the differences between projects and apps. We will unravel the MVT architecture and examine how Django integrates backend and frontend functionality. You’ll also work with templates to dynamically render data and implement advanced features like loops, conditions, and template inheritance to streamline your web development process.

Inclus

15 vidéos1 devoir

In this module, we will delve into Django models and the ORM (Object-Relational Mapping) system to simplify database interactions. You will learn to define models, establish relationships, and manage migrations to reflect database schema changes. We will explore the Django Admin interface to manage models and data visually. Additionally, you’ll work with the Django shell for hands-on data manipulation and restructure project templates and apps for better organization. By the end of this module, you will have a solid understanding of creating and managing data-driven Django applications.

Inclus

14 vidéos1 devoir

In this module, we will focus on the Django QuerySet API, which enables powerful and efficient database querying. You will learn to use filters and lookups to extract specific data, chain multiple filters for advanced queries, and handle complex conditions with the Q object. We’ll also cover slicing and aggregation techniques to process QuerySets and explore QuerySet methods like values and exists for precise and optimized data handling. By mastering these tools, you will be equipped to manage data queries effectively in Django applications.

Inclus

8 vidéos1 devoir

In this module, we will dive into Django's templating engine to create dynamic and reusable templates. You’ll learn to build a base.html layout with navigation and footer elements and populate templates with recipe and category data. We will explore URL template tags for smooth navigation, implement class-based views for enhanced modularity, and handle dynamic filtering to display customized content. By the end of this module, you will have the skills to design interactive and scalable web pages using Django templates.

Inclus

12 vidéos1 devoir

In this module, we will explore the power of Django forms for handling user inputs and managing data submissions. You’ll learn to create, validate, and customize forms, including dropdown menus and pre-filled fields, to simplify user interactions. We’ll also cover redirecting users after form submissions and discuss how to use widgets to improve form design. By the end of this module, you’ll have the expertise to build interactive and user-friendly input systems in Django applications.

Inclus

10 vidéos1 devoir

In this module, we will focus on building authentication and authorization functionality in Django. You’ll learn about the Django User object and its importance in managing user data. We will guide you through creating user registration, login, and logout features, along with designing corresponding templates. Additionally, you’ll tackle issues like route duplication to ensure a smooth and user-friendly authentication process in your Django applications.

Inclus

5 vidéos1 devoir

In this module, we will transform your Django web app by incorporating Bootstrap for responsive and visually appealing designs. You’ll style key templates, such as the main page, category, and recipe templates while learning to format data with filters. With Bootstrap components, you’ll enhance forms and navigation elements, creating a cohesive and professional user experience. By the end of this module, your Django app will be both functional and stylish.

Inclus

8 vidéos1 devoir

In this module, we will extend Django's authentication system by creating user profiles linked to the User object. You’ll learn to integrate user data into models like recipes and comments while designing and styling profile editing templates. We’ll add features like user avatars and implement navigation to user profiles from the navbar. Additionally, you’ll implement authentication-based access controls to restrict features like commenting to logged-in users. By the end of this module, your app will provide a personalized and secure user experience.

Inclus

22 vidéos1 devoir

In this module, we will explore the Django messaging framework to provide user notifications and feedback. You’ll learn to display messages in templates and style them with Bootstrap alerts for improved user experience. We’ll also introduce a search bar, guiding you through its implementation, styling, and finalizing its functionality. Finally, you’ll work with the Q object to build advanced search filters, enhancing the interactivity and functionality of your Django application.

Inclus

8 vidéos1 devoir

In this module, we will dive into session management in Django to track and store user-specific data across requests. You’ll learn to set up sessions, manage visit counts, and handle session deletion or flushing. We’ll also cover displaying session expiration times and apply these concepts in a hands-on project by building a feedback form review step. By the end of this module, you’ll understand how to leverage sessions to create dynamic and user-friendly web applications.

Inclus

5 vidéos1 devoir

In this module, we will enhance your Django app by adding a favorites feature, allowing users to mark recipes they like. You’ll create toggle functionality, set up views and URLs, and display favorite recipes seamlessly. The user experience will be elevated with FontAwesome icons and styled navbar buttons. Additionally, you’ll test the functionality for both logged-in and logged-out users to ensure reliability and accessibility. By the end, your app will have an engaging and user-centric feature.

Inclus

7 vidéos1 devoir

In this module, we will focus on managing recipe data by adding delete and update functionalities. You’ll learn to securely delete recipes and create intuitive interfaces for editing and updating existing ones. We’ll also address the importance of validations and permissions to ensure only authorized actions are performed. By the end of this module, your app will support comprehensive recipe management capabilities.

Inclus

2 vidéos1 devoir

In this module, we will introduce the Django REST Framework (DRF) to build robust REST APIs for your Django application. You’ll start by understanding REST principles, then create serializers to convert models into JSON format. We’ll guide you through implementing API endpoints, adding recipes via API views, and nesting serializers to represent related data. By the end of this module, you’ll be equipped to design and implement scalable and efficient APIs for your Django projects.

Inclus

6 vidéos1 devoir

In this module, we will guide you through deploying your Django web application to Heroku. You’ll start by setting up Heroku and configuring your project with a Procfile for deployment. We’ll then perform a full deployment walkthrough, ensuring your app is live and functional on the web. By the end of this module, you’ll understand the complete process of deploying Django projects to a production environment.

Inclus

3 vidéos1 devoir

In this final module, we will conclude the course by revisiting the key concepts and accomplishments from your Django journey. You’ll gain insights into practical applications of your newly acquired skills and receive guidance on advancing your knowledge with more complex Django topics. We’ll also provide suggestions for potential projects and career paths to help you apply what you’ve learned and continue growing as a Django developer.

Inclus

1 vidéo1 devoir

Instructeur

Packt - Course Instructors
Packt
568 Cours60 285 apprenants

Offert par

Packt

Recommandé si vous êtes intéressé(e) par 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.’
Emplacement réservé
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