Django framework and libraries documentation

Django Framework Documentation

Django is a free framework for Python-based web applications that uses the MVC design pattern.

Python documentation

Python is an easy to learn, powerful programming language.

Django ORM Cookbook

Django ORM Recipes is a book about working with Django ORM and Django models. Django ORM is one of the key pillars of Django.

Django Rest Framework

Django Rest Framework (DRF) is a library that works with standard Django models to create a flexible and powerful API for a project.


SQLAlchemy is the Python SQL toolkit and Object Relational Mapper that gives application developers the full power and flexibility of SQL.

Django CMS

Django CMS is a modern web publishing platform built on Django, a web application framework "for perfectionists with deadlines".

Channels - extension for asynchronous work with Django

Channels is a project that takes Django and extends it beyond HTTP to handle WebSockets, chat protocols, IoT protocols, and more.

asgiref - ASGI specification and utilities

ASGI (Asynchronous Server Gateway Interface) is the spiritual successor to WSGI, designed to provide a standard interface between asynchronous web servers, platforms, and Python applications.

Django Crispy Forms - best form builder

The best way to get Django DRY forms. Create reusable programmatic layouts from components with full control over the rendered HTML without writing HTML in templates. All this without breaking the standard Django way of working, so it works great with any other forms application.

Python Social Auth Documentation

Python Social Auth is an easy-to-configure social authentication/registration mechanism with support for multiple platforms and authentication providers.

Articles, news, and tips on Django and Python

Django Session-based Auth for Single Page Apps

In this article, we'll look at how to authenticate Single-Page Applications (SPAs) with session-based authentication. We'll be using Django for our backend while the frontend will be built with React, a JavaScript library designed for building user interfaces.

Securing a Containerized Django Application with Let's Encrypt

How do I set up an SSL Certificate for a Django application? In this tutorial, we'll look at how to secure a containerized Django app running behind an HTTPS Nginx proxy with Let's Encrypt SSL certificates. This tutorial builds on Dockerizing Django with Postgres, Gunicorn, and Nginx. It assumes you understand how to containerize a Django app along with Postgres, Nginx, and Gunicorn.

What Is the Python Global Interpreter Lock (GIL)?

The Python Global Interpreter Lock or GIL, in simple words, is a mutex (or a lock) that allows only one thread to hold the control of the Python interpreter. This means that only one thread can be in a state of execution at any point in time. The impact of the GIL isn’t visible to developers who execute single-threaded programs, but it can be a performance bottleneck in CPU-bound and multi-threaded code.

Python's Instance, Class, and Static Methods

In this tutorial I’ll help demystify what’s behind class methods, static methods, and regular instance methods. If you develop an intuitive understanding for their differences you’ll be able to write object-oriented Python that communicates its intent more clearly and will be easier to maintain in the long run.

Deploying Django to AWS with Docker and Let's Encrypt

In this tutorial, we'll deploy a Django app to AWS EC2 with Docker. The app will run behind an HTTPS Nginx proxy that uses Let's Encrypt SSL certificates. We'll use AWS RDS to serve our Postgres database along with AWS ECR to store and manage our Docker images.

Customizing the Django Admin

Django's automatically generated admin site is one of the biggest strengths of the framework. The centralized admin interface lets you easily view and manipulate your models' data. This can save you a lot of time while developing and managing content.

Storing Django Static and Media Files on Amazon S3

Amazon's Simple Storage System (S3) provides a simple, cost-effective way to store static files. This tutorial shows how to configure Django to load and serve up static and user uploaded media files, public and private, via an Amazon S3 bucket.

How to Use Python Data Classes in 2023

In Python, a data class is a class that is designed to only hold data values. They aren't different from regular classes, but they usually don't have any other methods. They are typically used to store information that will be passed between different parts of a program or a system.

Python Import from File – Importing Local Files in Python

There are many reasons you might want to import files in Python. Perhaps you're doing data analysis, custom file processing, file manipulation, automation and so on. Fortunately, Python provides a number of ways and methods to help you accomplish this task.

Python List to String – How to Convert Lists in Python

Whether you need to save a list as a text file, display it in a user-friendly format, or pass it as a parameter to a function, knowing how to convert a list to a string is essential. In this tutorial, we will explore various methods to convert Python lists to strings. I'll give you step-by-step instructions for each method, ensuring that you can easily follow along regardless of your programming expertise.

Django and Python "Questions and answers"

Django Class-Based Views Reference