Merge branch 'models' of git.eleves.ens.fr:cof-geek/GestionEvenementiel into models_equipement
This commit is contained in:
commit
a32c66dc38
1 changed files with 3 additions and 0 deletions
|
@ -185,6 +185,9 @@ class Activity(ActivityTemplate):
|
|||
verbose_name = _("activité")
|
||||
verbose_name_plural = _("activités")
|
||||
|
||||
def __str__(self):
|
||||
return self.get_herited('title')
|
||||
|
||||
# Si le champ de l'activité n'est pas spécifié
|
||||
# alors on va chercher celui de self.parent
|
||||
# def __getattribute__(self, attrname):
|
||||
|
|
Loading…
Reference in a new issue