diff options
author | Anuja <anujag@anujag-Latitude-D630.(none)> | 2012-04-26 15:45:13 +0530 |
---|---|---|
committer | Anuja <anujag@anujag-Latitude-D630.(none)> | 2012-04-26 15:45:13 +0530 |
commit | eebf47e459a51288494ca2a3c8ae19a0ffbf4eac (patch) | |
tree | d2b613abb61be9567b3fc703ad798177f9b605f0 /gstudio/models.py | |
parent | 546cfb06395189d476c53c1f059013dc8d51a8b8 (diff) | |
download | gnowsys-eebf47e459a51288494ca2a3c8ae19a0ffbf4eac.tar.gz |
Modified Relation and Attribute admin forms
Diffstat (limited to 'gstudio/models.py')
-rw-r--r-- | gstudio/models.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gstudio/models.py b/gstudio/models.py index a9d6928..4fa9380 100644 --- a/gstudio/models.py +++ b/gstudio/models.py @@ -1319,10 +1319,10 @@ class Relationtype(Nodetype): ''' inverse = models.CharField(_('inverse name'), help_text=_('when subjecttypes are interchanged, what should be the name of the relation type? This is mandatory field. If the relation is symmetric, same name will do.'), max_length=255,db_index=True ) left_subjecttype = models.ForeignKey(NID,related_name="left_subjecttype_of", verbose_name='left role') - left_applicable_nodetypes = models.CharField(max_length=2,choices=NODETYPE_CHOICES,default='OT', verbose_name='Node types for left role') + left_applicable_nodetypes = models.CharField(max_length=2,choices=NODETYPE_CHOICES,default='OT', verbose_name='Applicable node types for left role') left_cardinality = models.IntegerField(null=True, blank=True, verbose_name='cardinality for the left role') right_subjecttype = models.ForeignKey(NID,related_name="right_subjecttype_of", verbose_name='right role') - right_applicable_nodetypes = models.CharField(max_length=2,choices=NODETYPE_CHOICES,default='OT', verbose_name='Node types for right role') + right_applicable_nodetypes = models.CharField(max_length=2,choices=NODETYPE_CHOICES,default='OT', verbose_name='Applicable node types for right role') right_cardinality = models.IntegerField(null=True, blank=True, verbose_name='cardinality for the right role') is_symmetrical = models.NullBooleanField(verbose_name='Is symmetrical?') is_reflexive = models.NullBooleanField(verbose_name='Is reflexive?') |