#Real Python

Python's Format Mini-Language for Tidy Strings

In this tutorial, you'll learn about Python's format mini-language. You'll learn how to use the mini-language to create working format specifiers and build nicely formatted strings and messages in your code.
#intermediate #python
By | Jan 31, 2024

Python Exceptions: An Introduction

In this beginner tutorial, you'll learn what exceptions are good for in Python. You'll see how to raise exceptions and how to handle them with try … except blocks.
#basics #python
By | Jan 29, 2024


Issue #614 – Tic-Tac-Toe with AI, LRU Caches, Debugging, and More

By | Jan 30, 2024

#Photon Designer

Build a Django AI colorization app 🎨🦾

Use Django and webhooks to build an app that uses AI to color black and white photos.
By Photon Designer | Jan 29, 2024

The simplest way to add magic link sign-in using Django ✉️

An easy guide to add email sign-in (and verification) to Django using Gmail and others
By Photon Designer | Feb 03, 2024

The simplest way to add Google sign-in to your Django app ✍️

Avoid adding big packages (like Django-allauth or Django-social-auth). It's easier without them.
By Photon Designer | Jan 29, 2024

3 steps to upload files properly with Django (and HTMX) 📁

Most tutorials give bad advice about uploading files. Here's how to avoid blocking your server.
By Photon Designer | Feb 01, 2024

#Adam Johnson – Blogs

Git: the basics of

git bisect efficiently searches for a commit responsible for changing a given behaviour. git log lets you see when a given file or line changed, but that’s often insufficient when the cause of some change is unclear. In such cases, git bisect shines, as it lets you check your running system.
By Adam Johnson | Jan 29, 2024

#Python Software Foundation

Kicking off 2024 strong, thanks to our community!

By Marie Nordin | Jan 31, 2024


Shedding light on Django versioning

As of version 2.0 released in 2017, Django uses a
loose form of semantic versioning,
but what exactly does that mean? This article dives into the details of Django’s release
cycle and related policies to answer some on the crucial questions, such as:
By Mariusz Felisiak | Jan 30, 2024