diff options
Diffstat (limited to 'gnowsys-ndf/gnowsys_ndf/ndf/models.py')
-rw-r--r-- | gnowsys-ndf/gnowsys_ndf/ndf/models.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/gnowsys-ndf/gnowsys_ndf/ndf/models.py b/gnowsys-ndf/gnowsys_ndf/ndf/models.py index 37b8894..10fd215 100644 --- a/gnowsys-ndf/gnowsys_ndf/ndf/models.py +++ b/gnowsys-ndf/gnowsys_ndf/ndf/models.py @@ -235,9 +235,8 @@ class Node(DjangoDocument): # ready. default_values = {'created_at': datetime.datetime.utcnow, 'status': u'DRAFT'} use_dot_notation = True - + ########## Setter(@x.setter) & Getter(@property) ########## - @property def user_details_dict(self): """Retrieves names of created-by & modified-by users from the given @@ -1560,7 +1559,7 @@ class Triple(DjangoDocument): 'lang': basestring, # Put validation for standard language codes 'status': STATUS_CHOICES_TU } - + required_fields = ['name', 'subject'] use_dot_notation = True use_autorefs = True |