Fix english label

This commit is contained in:
Antoine Martin 2022-05-13 08:15:48 +02:00
parent c924918387
commit 429903bedf

View file

@ -13,7 +13,7 @@ class Event(models.Model):
class ScratchProject(models.Model):
name = models.CharField('Nom du projet', max_length=128)
author_name = models.CharField('Auteur', max_length=128)
project_url = models.URLField('Scratch project url', validators=[RegexValidator(regex=r'https?://scratch\.mit\.edu/projects/([0-9]+)/?')])
project_url = models.URLField('Lien (url) du projet Scratch', validators=[RegexValidator(regex=r'https?://scratch\.mit\.edu/projects/([0-9]+)/?')])
event = models.ForeignKey(Event, on_delete=models.CASCADE)
def get_absolute_url(self):