diff options
| author | Étienne Loks <etienne.loks@iggdrasil.net> | 2021-02-12 17:53:44 +0100 | 
|---|---|---|
| committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2021-02-28 12:15:24 +0100 | 
| commit | 785e35555993fd1c7251b6d50e1fb4b27cbeb7f1 (patch) | |
| tree | 9bf31ced127fc7389d9ba6f9d55279fd21debcfb /archaeological_operations/models.py | |
| parent | 3bbe9b6b0ed29709500d82c3b8122f8adb11d9ee (diff) | |
| download | Ishtar-785e35555993fd1c7251b6d50e1fb4b27cbeb7f1.tar.bz2 Ishtar-785e35555993fd1c7251b6d50e1fb4b27cbeb7f1.zip  | |
Refactoring - typo
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,  | 
