Django filter with regex January 9, 2024 by Tarik You need to add + after the character class, so that it would match one or more letters, r'^[a-zA-Z]+/$'