What this book covers
Chapter 1, Setting Up Django with DRF, covers the basic project setup of Django and Django Rest Framework (DRF). It will also help you to understand the fundamentals of APIs and how to design a REST API.
Chapter 2, Exploring Django ORM, Models, and Migrations, covers how to integrate Django with a database. Django ORM and migrations are powerful features; we learn about the core concepts and how to use them efficiently in this chapter.
Chapter 3, Serializing Data with DRF, explores the concept of serialization and how developers can use DRF serializers to write better application code.
Chapter 4, Exploring Django Admin and Management Commands, covers the core concepts of Django admin. This chapter covers all the best practices on how to use Django admin and create custom Django management commands.
Chapter 5, Mastering Django Authentication and Authorization, covers the key concepts of authentication and authorization. Django provides authentication and authorization out of the box, and we will explain in detail how developers can use the built-in features of Django and DRF for authentication.
Chapter 6, Caching, Logging, and Throttling, covers all the concepts of caching and how to integrate Redis with Django for caching. Logging is a crucial component of any web application in production and, in this chapter, we will learn how to integrate logging into a Django application.
Chapter 7, Using Pagination, Django Signals, and Custom Middleware, covers all the advanced concepts of Django. Developers can use Django signals to write decoupled code. Django also gives the flexibility to create custom middleware that can help developers to improve features.
Chapter 8, Using Celery with Django, shows how to process asynchronous tasks for web applications. In this chapter, developers will get an understanding of how to integrate Celery into a Django project.
Chapter 9, Writing Tests in Django, covers the core concepts of writing test cases for Django. In this chapter, you will learn the best practices to follow while writing test cases and understand the importance of writing test cases for a project.
Chapter 10, Exploring Conventions in Django, shows all the best practices and conventions that are used while working with Django. This chapter covers a lot of concepts that are opinionated, and you are expected to read this chapter as an outline and pick/learn about concepts by using your own judgment.
Chapter 11, Dockerizing Django Applications, covers how to integrate Docker with a Django application.
Chapter 12, Working with Git and CI Pipelines Using Django, covers the concepts of version control and how to efficiently use Git in a Django project. In this chapter, you will learn how to integrate GitHub Actions to create a CI pipeline.
Chapter 13, Deploying Django in AWS, covers how to deploy Django applications in production using different AWS services. In this chapter, you will learn how to deploy and scale the Django application in production.
Chapter 14, Monitoring Django Applications, covers how to monitor Django applications in production. There are different types of monitoring needed in production, such as error monitoring, application performance monitoring, uptime monitoring, and so on. In this chapter, you will learn how to integrate different tools available on the market to monitor Django applications.