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 /ishtar_common/models_imports.py | |
parent | 3bbe9b6b0ed29709500d82c3b8122f8adb11d9ee (diff) | |
download | Ishtar-785e35555993fd1c7251b6d50e1fb4b27cbeb7f1.tar.bz2 Ishtar-785e35555993fd1c7251b6d50e1fb4b27cbeb7f1.zip |
Refactoring - typo
Diffstat (limited to 'ishtar_common/models_imports.py')
-rw-r--r-- | ishtar_common/models_imports.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ishtar_common/models_imports.py b/ishtar_common/models_imports.py index b3b64bd65..7a8a10bc2 100644 --- a/ishtar_common/models_imports.py +++ b/ishtar_common/models_imports.py @@ -947,7 +947,7 @@ class Import(models.Model): "will be used.") ) encoding = models.CharField(_("Encoding"), choices=ENCODINGS, - default=u'utf-8', max_length=15) + default='utf-8', max_length=15) csv_sep = models.CharField( _("CSV separator"), choices=CSV_SEPS, default=',', max_length=1, help_text=_("Separator for CSV file. Standard is comma but Microsoft " @@ -966,10 +966,10 @@ class Import(models.Model): _("Match file"), upload_to="upload/imports/%Y/%m/", blank=True, null=True, max_length=255, help_text=max_size_help()) state = models.CharField(_("State"), max_length=2, choices=IMPORT_STATE, - default=u'C') + default='C') conservative_import = models.BooleanField( _("Conservative import"), default=False, - help_text=_(u'If set to true, do not overload existing values.')) + help_text=_('If set to true, do not overload existing values.')) creation_date = models.DateTimeField( _("Creation date"), auto_now_add=True, blank=True, null=True) end_date = models.DateTimeField(_("End date"), auto_now_add=True, |