Blogs

Clear
Efficient Django Project Settings with Split Settings Library

Learn how to efficiently manage your Django project settings with the Split Settings library. Use environment variables, keep sensitive information i…

Read More
Integrating Flake8 with Django: Best Practices

Learn how to integrate Flake8 with Django projects and enforce code quality. Follow our step-by-step guide and optimize your Django workflow with Fla…

Read More
Django Authentication and Authorization with JWT

Learn how to implement JSON Web Token (JWT) based authentication and authorization in Django web applications with step-by-step guide and code exampl…

Read More
Best Practices for Django Development: Tips and Tricks

Learn the best practices for Django development, including project structure, code organization, testing, and deployment. Build high-quality web apps.

Read More
Django Middleware: Tips, Tricks and Examples

Learn how to use Django Middleware to improve your app's performance and security. Includes examples and best practices.

Read More
Django Production Deployment: Best Practices & Checklist

Learn the best practices and checklist for deploying a Django application to production. Includes tips on web servers, databases, caching, security, …

Read More
Testing in Django with DRY code and Factory Libraries

Learn how to efficiently run dry tests in Django using DRY principle and factory libraries like factory_boy and model_mommy. Optimize your testing pr…

Read More
Dry Testing in Django: Various Approaches and Best Practices

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 …

Read More
What is an OpenAPI?

The OpenAPI Specification (OAS) defines a standard, language-agnostic interface to HTTP APIs which allows both humans and computers to discover and u…

Read More
Django and OpenAPI 3 - DRF Spectacular

drf-spectacular provides as its tagline suggests sane and flexible OpenAPI 3 schema generation for Django REST framework.

Read More
Django Redirects App

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 …

Read More
Humanize - Django Utils

Django comes with a set of template filters to add a "human touch" to data. It is used to translate numbers and dates into a human readable format.

Read More
How to Use Django's Flatpages App

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 wa…

Read More
Django Designing Better Models

Models definition is one of the most important parts of your application. Something that makes all the difference is defining the field types properly

Read More
Using Environment Variables in Django

Python Decouple is a great library that helps you strictly separate the settings parameters from your source code. The idea is simple: Parameters rel…

Read More
Model Inheritance in Django

Models inheritance works the same way as normal Python class inheritance works, the only difference is, whether we want the parent models to have the…

Read More
Django dumpdata and loaddata

Django provides management commands, which can be use to backup(export) or import the model instances or whole database.

Read More
Making Django Admin Jazzy With django-jazzmin

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 …

Read More
Django select_related and prefetch_related

Learn how to use select_related and prefetch_related queries in django to optimize query.

Read More