diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2019-07-04 16:11:34 +0200 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2019-07-04 22:34:41 +0200 |
commit | 3c978a2d8a65ec06f6f0ccb910ca32d53cf5a8c2 (patch) | |
tree | 423c5e22b1aea6c68bbbdc6e1aaeb694fc47d039 /ishtar_common/models.py | |
parent | 7076c0aa5fdbeeac32620b2cb354bc7c0a94c29e (diff) | |
download | Ishtar-3c978a2d8a65ec06f6f0ccb910ca32d53cf5a8c2.tar.bz2 Ishtar-3c978a2d8a65ec06f6f0ccb910ca32d53cf5a8c2.zip |
Graphs: save results, options and tests
- can generate only above and only bellow
- save dot files
- option for no color for current
- tests
Diffstat (limited to 'ishtar_common/models.py')
-rw-r--r-- | ishtar_common/models.py | 32 |
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 |