diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2020-11-04 10:36:26 +0100 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2021-02-28 12:15:21 +0100 |
commit | 7848a635ae487be3175714b86e0647da0043d828 (patch) | |
tree | 5e20ebe3f71608659307a2385e00036885f757da /ishtar_common/models_common.py | |
parent | 8ec6080e76dd610fc7fc14185655d123d116dff6 (diff) | |
download | Ishtar-7848a635ae487be3175714b86e0647da0043d828.tar.bz2 Ishtar-7848a635ae487be3175714b86e0647da0043d828.zip |
Fix migrations for complete_identifier
Diffstat (limited to 'ishtar_common/models_common.py')
-rw-r--r-- | ishtar_common/models_common.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ishtar_common/models_common.py b/ishtar_common/models_common.py index 8c5d60637..98d435ce9 100644 --- a/ishtar_common/models_common.py +++ b/ishtar_common/models_common.py @@ -2643,7 +2643,8 @@ class ImageContainerModel: class CompleteIdentifierItem(models.Model, ImageContainerModel): HAS_QR_CODE = True - complete_identifier = models.TextField(_("Complete identifier"), blank=True) + complete_identifier = models.TextField(_("Complete identifier"), + blank=True, null=True) qrcode = models.ImageField(upload_to=get_image_path, blank=True, null=True, max_length=255) |