From 45769bc5b440183dd5e46b40ec2cdd364a3a01db Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Thu, 18 Apr 2024 18:42:42 +0200 Subject: ✨ imports: allow media import from a web location MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ishtar_common/models_imports.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'ishtar_common/models_imports.py') 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 ) -- cgit v1.2.3