diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2024-04-18 18:42:42 +0200 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2024-04-19 10:16:28 +0200 |
commit | 45769bc5b440183dd5e46b40ec2cdd364a3a01db (patch) | |
tree | b5975ad978b4e9ef62b712aa5d2962b0c876db4e /ishtar_common/models_imports.py | |
parent | 7e631d9a322a8bb530652e7adac073d18baf326b (diff) | |
download | Ishtar-45769bc5b440183dd5e46b40ec2cdd364a3a01db.tar.bz2 Ishtar-45769bc5b440183dd5e46b40ec2cdd364a3a01db.zip |
✨ imports: allow media import from a web location
Diffstat (limited to 'ishtar_common/models_imports.py')
-rw-r--r-- | ishtar_common/models_imports.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ishtar_common/models_imports.py b/ishtar_common/models_imports.py index 22890d484..a37fd2afe 100644 --- a/ishtar_common/models_imports.py +++ b/ishtar_common/models_imports.py @@ -1428,6 +1428,10 @@ class BaseImport(models.Model, OwnPerms, SheetItem): default=1, help_text=_("Number of header lines in your file (can be 0 and should be 0 for geopackage or Shapefile)."), ) + imported_media_link = models.URLField( + _("Associated media (web link to a zip file or a path)"), + blank=True, null=True + ) creation_date = models.DateTimeField( _("Creation date"), auto_now_add=True, blank=True, null=True ) |