Django is a free framework for Python-based web applications that uses the MVC design pattern.
Python is an easy to learn, powerful programming language.
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 (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 is a modern web publishing platform built on Django, a web application framework "for perfectionists with deadlines".
Channels is a project that takes Django and extends it beyond HTTP to handle WebSockets, chat protocols, IoT protocols, and more.
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.
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 is an easy-to-configure social authentication/registration mechanism with support for multiple platforms and authentication providers.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.