Planet Python RSS
216 subscribers
16.9K links
Unofficial Planet Python RSS feed from planetpython.org. Maintained by @cfinnberg
Download Telegram
Mariatta: Disabling Signup in Django allauth

Link: https://mariatta.ca/posts/disabling-signup-django-allauth/

Django allauth
Django allauth is a popular third party package that provides a lot of functionality for handling user authentication,
with support for social authentication, email verification, multi-
Graham Dumpleton: Lazy imports using wrapt

Link: https://grahamdumpleton.me/posts/2025/10/lazy-imports-using-wrapt/

PEP 810 (explicit lazy imports) was recently released for Python. The idea with this PEP is to add explicit syntax for implementing lazy imports for modules in Python.
lazy import json

Lazily importi
Rodrigo Girão Serrão: TIL #134 – = alignment in string formatting

Link: https://mathspp.com/blog/til/-alignment-in-string-formatting


Today I learned how to use the equals sign to align numbers when doing string formatting in Python.
There are three main alignment options in Python's string formatting:



Character
Meaning




<
al