We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 86994c0 commit 565b4ccCopy full SHA for 565b4cc
downloads/models.py
@@ -148,7 +148,7 @@ def is_version_at_least_3_9(self):
148
149
def clean(self):
150
super().clean()
151
- if not re.match(r'^Python\s[\d.]+%', self.name):
+ if not re.match(r'^Python\s[\d.]+$', self.name):
152
raise ValidationError({
153
"name": "Release name must be in the format 'Python X.Y.Z' (e.g., 'Python 3.14.0')"
154
})
0 commit comments