diff options
| author | Étienne Loks <etienne.loks@peacefrogs.net> | 2010-12-22 14:50:31 +0100 | 
|---|---|---|
| committer | Étienne Loks <etienne.loks@peacefrogs.net> | 2010-12-24 17:39:03 +0100 | 
| commit | a52a9fef74c9513ee330a7002406f405c8b068e9 (patch) | |
| tree | 1a37282ac8f0a13b6597339418d01e5cd1be1e40 | |
| parent | 24e16d6a59b24b1b3fec8f466983f45ab0723acd (diff) | |
| download | Ishtar-a52a9fef74c9513ee330a7002406f405c8b068e9.tar.bz2 Ishtar-a52a9fef74c9513ee330a7002406f405c8b068e9.zip | |
Minor correction on the model (refs #13)
| -rw-r--r-- | ishtar/furnitures/models.py | 6 | 
1 files changed, 3 insertions, 3 deletions
| diff --git a/ishtar/furnitures/models.py b/ishtar/furnitures/models.py index b02e35164..838145b26 100644 --- a/ishtar/furnitures/models.py +++ b/ishtar/furnitures/models.py @@ -248,7 +248,6 @@ class Dating(models.Model):  class RegistrationUnit(HistorizedItem):      parcel = models.ForeignKey(Parcel, verbose_name=_(u"Parcel")) -    #operation = models.ForeignKey(Operation, verbose_name=_(u"Operation")) ????      label = models.CharField(_(u"Label"), max_length=200)      description = models.TextField(_("Description"))      lenght = models.IntegerField(_(u"Lenght")) @@ -258,7 +257,7 @@ class RegistrationUnit(HistorizedItem):      has_furniture = models.BooleanField(u"Has furniture?")      interpretation = models.TextField(_(u"Interpretation"))      filling = models.TextField(_(u"Filling")) -    datings = models.ManyToManyField(Dating) # dans Item ??? +    datings = models.ManyToManyField(Dating)      class Meta:          verbose_name = _(u"Registration Unit") @@ -388,7 +387,7 @@ class ContainerType(GeneralType):      width = models.IntegerField(_(u"Width"))      height = models.IntegerField(_(u"Height"))      volume = models.IntegerField(_(u"Volume")) -    reference = models.CharField(_(u"Reference"), max_length=15) +    reference = models.CharField(_(u"Reference"), max_length=30)      class Meta:          verbose_name = _(u"Container type") @@ -399,6 +398,7 @@ class Container(models.Model):      location = models.ForeignKey(Warehouse, verbose_name=_(u"Location"))      container_type = models.ForeignKey(ContainerType,                                         verbose_name=_("Container type")) +    reference = models.CharField(_(u"Reference"), max_length=40)      comment = models.TextField(_(u"Comment"))      class Meta: | 
