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 | a9b0c688f57f676f90dd27fb65520d2e1ad92f64 (patch) | |
tree | 423c5e22b1aea6c68bbbdc6e1aaeb694fc47d039 /ishtar_common/models.py | |
parent | eda4554eeca077f2357235414f6d59708d1b9944 (diff) | |
download | Ishtar-a9b0c688f57f676f90dd27fb65520d2e1ad92f64.tar.bz2 Ishtar-a9b0c688f57f676f90dd27fb65520d2e1ad92f64.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 |