diff options
author | Ankita <ankita@ankita-Inspiron-N5010.(none)> | 2012-07-13 12:31:27 +0530 |
---|---|---|
committer | Ankita <ankita@ankita-Inspiron-N5010.(none)> | 2012-07-13 12:31:27 +0530 |
commit | 527ab688a8608ded5fc854cf8641228181efa981 (patch) | |
tree | 825f17422ce610922f8f34854c5e54db7a7f35ad /gstudio/models.py | |
parent | ef3793b349be5744d6ef98a034f0c009159ed85b (diff) | |
download | gnowsys-527ab688a8608ded5fc854cf8641228181efa981.tar.gz |
this patch was added for metastudio by BITS Pilani team in 2012.
Diffstat (limited to 'gstudio/models.py')
-rw-r--r-- | gstudio/models.py | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/gstudio/models.py b/gstudio/models.py index 427b375..729f1df 100644 --- a/gstudio/models.py +++ b/gstudio/models.py @@ -762,11 +762,11 @@ class Nodetype(Node): prior_nodes = models.ManyToManyField('self', symmetrical=False,null=True, blank=True, verbose_name=_('its meaning depends on '), - related_name='nodetype_posterior_nodes') + related_name='nodetype_prior_nodes') posterior_nodes = models.ManyToManyField('self', symmetrical=False,null=True, blank=True, verbose_name=_('required for the meaning of '), - related_name='nodetype_prior_nodes') + related_name='nodetype_posterior_nodes') image = models.ImageField(_('image'), upload_to=UPLOAD_TO, blank=True, help_text=_('used for illustration')) @@ -2852,6 +2852,9 @@ class Systemtype(Nodetype): blank=True, null=False) processtype_set = models.ManyToManyField(Processtype, related_name="processtype_set_of", verbose_name='Possible edges in the system', blank=True, null=False) + author_set = models.ManyToManyField(Author, related_name="author_set_of", verbose_name='Possible authors in the system', + blank=True, null=False) + def __unicode__(self): |