django-planet
Dec. 17, 2023

Say what you mean in a regex

published by James Bennett
in blog James Bennett
original entry Say what you mean in a regex

This is part of a series of posts I’m doing as a sort of Python/Django Advent calendar, offering a small tip or piece of information each day from the first Sunday of Advent through Christmas Eve. See the first post for an introduction.

An URL-y warning

Suppose you’re writing a blog in Django, and you get to the point where you’re setting up the URLs for the entries. Django has two ways to write …

Read full entry