Skip to content
Snippets Groups Projects
Commit 225bf3cb authored by florimondmanca's avatar florimondmanca
Browse files

minor code refactor

parent 122c68c9
No related branches found
No related tags found
1 merge request!4Release version ready to welcome first users
......@@ -53,10 +53,6 @@ class Project(models.Model):
class Edition(models.Model):
"""Represents an instance of a project for a given year."""
name = models.CharField(
'nom', max_length=200, default='', blank=True,
help_text='Un nom optionnel pour cette édition (exemple : "Berlin").')
year = models.IntegerField(
'année', default=this_year,
help_text="L'année où se déroule cette édition.")
......@@ -66,6 +62,10 @@ class Edition(models.Model):
verbose_name='projet', related_name='editions',
help_text='Le projet dont ceci est une édition.')
name = models.CharField(
'nom', max_length=200, default='', blank=True,
help_text='Un nom optionnel pour cette édition (exemple : "Berlin").')
description = MarkdownxField(
blank=True, default='',
help_text=(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment