summaryrefslogtreecommitdiff
path: root/ishtar_common/models.py
diff options
context:
space:
mode:
Diffstat (limited to 'ishtar_common/models.py')
-rw-r--r--ishtar_common/models.py32
1 files changed, 32 insertions, 0 deletions
diff --git a/ishtar_common/models.py b/ishtar_common/models.py
index 5e7f6e9b3..e8b6fc518 100644
--- a/ishtar_common/models.py
+++ b/ishtar_common/models.py
@@ -1205,6 +1205,38 @@ class RelationItem(models.Model):
_("Generated relation image (SVG)"), null=True, blank=True,
upload_to=get_image_path, help_text=max_size_help()
)
+ relation_bitmap_image = models.FileField(
+ _("Generated relation image (PNG)"), null=True, blank=True,
+ upload_to=get_image_path, help_text=max_size_help()
+ )
+ relation_dot = models.FileField(
+ _("Generated relation image (DOT)"), null=True, blank=True,
+ upload_to=get_image_path, help_text=max_size_help()
+ )
+ relation_image_above = models.FileField(
+ _("Generated above relation image (SVG)"), null=True, blank=True,
+ upload_to=get_image_path, help_text=max_size_help()
+ )
+ relation_dot_above = models.FileField(
+ _("Generated above relation image (DOT)"), null=True, blank=True,
+ upload_to=get_image_path, help_text=max_size_help()
+ )
+ relation_bitmap_image_above = models.FileField(
+ _("Generated above relation image (PNG)"), null=True, blank=True,
+ upload_to=get_image_path, help_text=max_size_help()
+ )
+ relation_image_bellow = models.FileField(
+ _("Generated bellow relation image (SVG)"), null=True, blank=True,
+ upload_to=get_image_path, help_text=max_size_help()
+ )
+ relation_dot_bellow = models.FileField(
+ _("Generated bellow relation image (DOT)"), null=True, blank=True,
+ upload_to=get_image_path, help_text=max_size_help()
+ )
+ relation_bitmap_image_bellow = models.FileField(
+ _("Generated bellow relation image (PNG)"), null=True, blank=True,
+ upload_to=get_image_path, help_text=max_size_help()
+ )
class Meta:
abstract = True