Skip to content

Commit 40c448b

Browse files
committed
chore: clean copypasta from issue submission
1 parent 565b4cc commit 40c448b

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

downloads/models.py

-7
Original file line numberDiff line numberDiff line change
@@ -153,13 +153,6 @@ def clean(self):
153153
"name": "Release name must be in the format 'Python X.Y.Z' (e.g., 'Python 3.14.0')"
154154
})
155155

156-
# def clean(self):
157-
# super().clean()
158-
# if not re.match(r'^Python\s[\d.]+$', self.name):
159-
# raise ValidationError({
160-
# 'name': 'Name must be in the format "Python X.Y.Z" (e.g., "Python 3.9.0")'
161-
# })
162-
163156

164157
def update_supernav():
165158
latest_python3 = Release.objects.latest_python3()

0 commit comments

Comments
 (0)