diff options
author | Arun yadav <arunkumar5587@gmail.com> | 2012-05-09 15:15:55 +0530 |
---|---|---|
committer | Arun yadav <arunkumar5587@gmail.com> | 2012-05-09 15:15:55 +0530 |
commit | 7e02e008009c476c831d7dcda78db9bc22beb42e (patch) | |
tree | 93d7af0af0dad7d2aa646f26cdb49eb1dfe098e4 /gstudio/admin | |
parent | d121f3bdbcbefd176f3d70c871542c745f6e0e0f (diff) | |
download | gnowsys-7e02e008009c476c831d7dcda78db9bc22beb42e.tar.gz |
Added views ,templates and some version related properties in models.py
Diffstat (limited to 'gstudio/admin')
-rw-r--r-- | gstudio/admin/objecttype.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gstudio/admin/objecttype.py b/gstudio/admin/objecttype.py index c98a0d7..7440140 100644 --- a/gstudio/admin/objecttype.py +++ b/gstudio/admin/objecttype.py @@ -172,8 +172,10 @@ class ObjecttypeAdmin(reversion.VersionAdmin): if not form.cleaned_data.get('authors'): form.cleaned_data['authors'].append(request.user) - nodetype.last_update = datetime.now() nodetype.save() + # nodetype.nbhood = nodetype.get_nbh + # nodetype.last_update = datetime.now() + # nodetype.save() def queryset(self, request): """Make special filtering by user permissions""" |