diff options
author | Kabir <kabir@gnowledge.org> | 2012-06-19 13:11:33 +0530 |
---|---|---|
committer | Kabir <kabir@gnowledge.org> | 2012-06-19 13:11:33 +0530 |
commit | 46abe1f0360e5f7a3af0f0e617e4b2dd9e71ccec (patch) | |
tree | d6ae23de98b7c4d472a1d7d3dc4ac8644a5794ef /gstudio | |
parent | ceacc9e3d70ef4b8cbeb2cbc91d0ef414742c16b (diff) | |
parent | 2159098a80525bae6be08ea25acfd5ba5e9b20bd (diff) | |
download | gnowsys-46abe1f0360e5f7a3af0f0e617e4b2dd9e71ccec.tar.gz |
Merge branch 'master' of https://github.com/gnowgi/gnowsys-studio
Diffstat (limited to 'gstudio')
-rw-r--r-- | gstudio/models.py | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/gstudio/models.py b/gstudio/models.py index 96abaa1..b1de4f5 100644 --- a/gstudio/models.py +++ b/gstudio/models.py @@ -760,12 +760,13 @@ class Nodetype(Node): verbose_name=_('is a kind of'), related_name='children') - prior_nodes = models.ManyToManyField('self', null=True, blank=True, + prior_nodes = models.ManyToManyField('self', symmetrical=False,null=True, blank=True, verbose_name=_('its meaning depends on '), - related_name='posterior_nodes') - posterior_nodes = models.ManyToManyField('self', null=True, blank=True, + related_name='nodetype_posterior_nodes') + + posterior_nodes = models.ManyToManyField('self', symmetrical=False,null=True, blank=True, verbose_name=_('required for the meaning of '), - related_name='prior_nodes') + related_name='nodetype_prior_nodes') image = models.ImageField(_('image'), upload_to=UPLOAD_TO, blank=True, help_text=_('used for illustration')) |