sector: add verbose name (i18n) (#67764)

This commit is contained in:
Thomas NOËL 2022-07-28 11:13:01 +02:00
parent 2d6e859971
commit 51dcb2c858
1 changed files with 3 additions and 0 deletions

View File

@ -75,6 +75,9 @@ class SectorResource(BaseResource):
category = _('Geographic information system')
hide_description_fields = ['csv_file']
class Meta:
verbose_name = _('Sectorization')
def __str__(self):
return '%s [%s]' % (self.title, self.slug)