8
0
Fork 0
mirror of https://gitlab2.federez.net/re2o/re2o synced 2024-11-25 22:22:26 +00:00

Update, english doc models.py

This commit is contained in:
chirac 2019-02-20 20:49:34 +01:00
parent bd079b2756
commit c4571ab425

View file

@ -517,8 +517,8 @@ class SwitchBay(AclMixin, RevMixin, models.Model):
class Dormitory(AclMixin, RevMixin, models.Model): class Dormitory(AclMixin, RevMixin, models.Model):
"""Une résidence universitaire """A student accomodation/dormitory
A residence""" Une résidence universitaire"""
name = models.CharField(max_length=255) name = models.CharField(max_length=255)
@ -539,7 +539,8 @@ class Dormitory(AclMixin, RevMixin, models.Model):
class Building(AclMixin, RevMixin, models.Model): class Building(AclMixin, RevMixin, models.Model):
"""Un batiment""" """A building of a dormitory
Un batiment"""
name = models.CharField(max_length=255) name = models.CharField(max_length=255)
dormitory = models.ForeignKey( dormitory = models.ForeignKey(