diff options
Diffstat (limited to 'archaeological_operations/models.py')
-rw-r--r-- | archaeological_operations/models.py | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/archaeological_operations/models.py b/archaeological_operations/models.py index 014d1071b..b7841450c 100644 --- a/archaeological_operations/models.py +++ b/archaeological_operations/models.py @@ -315,7 +315,7 @@ class ArchaeologicalSite(DocumentItem, BaseHistorizedItem, CompleteIdentifierIte null=True, blank=True) periods = models.ManyToManyField(Period, verbose_name=_("Periods"), blank=True) - remains = models.ManyToManyField("RemainType", verbose_name=_(u'Remains'), + remains = models.ManyToManyField("RemainType", verbose_name=_('Remains'), blank=True) cultural_attributions = models.ManyToManyField( "CulturalAttributionType", verbose_name=_("Cultural attribution"), @@ -1073,7 +1073,7 @@ class Operation(ClosedItem, DocumentItem, BaseHistorizedItem, operation_type = models.ForeignKey(OperationType, related_name='+', verbose_name=_("Operation type")) surface = models.IntegerField(_("Surface (m2)"), blank=True, null=True) - remains = models.ManyToManyField("RemainType", verbose_name=_(u'Remains'), + remains = models.ManyToManyField("RemainType", verbose_name=_('Remains'), blank=True) towns = models.ManyToManyField(Town, verbose_name=_("Towns"), related_name='operations') @@ -1887,10 +1887,10 @@ class OperationByDepartment(models.Model): class ActType(GeneralType): - TYPE = (('F', _(u'Archaeological file')), - ('O', _(u'Operation')), - ('TF', _(u'Treatment request')), - ('T', _(u'Treatment')), + TYPE = (('F', _('Archaeological file')), + ('O', _('Operation')), + ('TF', _('Treatment request')), + ('T', _('Treatment')), ) SERIALIZATION_EXCLUDE = ["associated_template"] intented_to = models.CharField(_("Intended to"), max_length=2, |