Learn how to efficiently manage your Django project settings with the Split Settings library. Use environment variables, keep sensitive information in separate files, and use configuration management tools for a professional-level approach.
Learn how to integrate Flake8 with Django projects and enforce code quality. Follow our step-by-step guide and optimize your Django workflow with Flake8.
Learn how to implement JSON Web Token (JWT) based authentication and authorization in Django web applications with step-by-step guide and code examples.
Learn the best practices and checklist for deploying a Django application to production. Includes tips on web servers, databases, caching, security, and more.
Learn how to efficiently run dry tests in Django using DRY principle and factory libraries like factory_boy and model_mommy. Optimize your testing process and ensure the reliability of your code with examples and tips provided in this blog post.
Learn how to run dry tests in Django using flags, libraries, and third-party tools. Optimize your testing process and ensure the reliability of your code.
The OpenAPI Specification (OAS) defines a standard, language-agnostic interface to HTTP APIs which allows both humans and computers to discover and understand the capabilities of the service without access to source code, documentation, or through network traffic inspection.
Django comes with an optional redirects application. It lets you store redirects in a database and handles the redirecting for you. It uses the HTTP response status code 301 Moved Permanently by default.
A flatpage is an object with a URL, title and content. Use it for one-off, special-case pages, such as “About” or “Privacy Policy” pages, that you want to store in a database but for which you don’t want to develop a custom Django application.
Python Decouple is a great library that helps you strictly separate the settings parameters from your source code. The idea is simple: Parameters related to the project, goes straight to the source code. Parameters related to an instance of the project, goes to an environment file.
Django Jazzmin, intended as a drop-in app to jazz up your django admin site, with plenty of things you can easily customise, including a built-in UI customizer.
Models inheritance works the same way as normal Python class inheritance works, the only difference is, whether we want the parent models to have their own table in the database or not.
Learn about the best practices working with Django models using python. What should be the name of the model. How to use related name with foreign keys.