diff options
author | Kabir <kabir@gnowledge.org> | 2012-05-03 12:28:16 +0530 |
---|---|---|
committer | Kabir <kabir@gnowledge.org> | 2012-05-03 12:28:16 +0530 |
commit | 76d725e9358d67eef35cbb6c5e1ac9566dff50fa (patch) | |
tree | dd8d88ebf9d5794d98006ad05e022e0c06fa578d /gstudio/admin/attribute.py | |
parent | 9f8f3af43fe8ab6c3f3f5c4882ff4f325ee417b2 (diff) | |
download | gnowsys-76d725e9358d67eef35cbb6c5e1ac9566dff50fa.tar.gz |
filter added to attribute form in admin interface
Diffstat (limited to 'gstudio/admin/attribute.py')
-rw-r--r-- | gstudio/admin/attribute.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gstudio/admin/attribute.py b/gstudio/admin/attribute.py index 7a34cb8..b66f66e 100644 --- a/gstudio/admin/attribute.py +++ b/gstudio/admin/attribute.py @@ -1,4 +1,4 @@ -"""MetatypeAdmin for Gstudio""" +"""AttributeAdmin for Gstudio""" from django.contrib import admin from django.core.urlresolvers import NoReverseMatch from django.utils.translation import ugettext_lazy as _ @@ -9,13 +9,13 @@ import reversion from django.template.defaultfilters import slugify class AttributeAdmin(reversion.VersionAdmin): - fieldsets=((_('Attribute'),{'fields': ('subject','subject_scope','attributetype','attributetype_scope','svalue','value_scope','last_update','creation_date')}), + fieldsets=((_('Attribute'),{'fields': ('attributetype','attributetype_scope','subject','subject_scope','svalue','value_scope')}), ) class Media: - js = ("gstudio/js/gstudiojs.js",) + js = ("gstudio/js/gstudio.js",) def save_model(self, request, attribute, form, change): attribute.title = attribute.composed_sentence |