diff options
author | anuja <anuja@labadmin-Vostro1510.(none)> | 2012-07-18 16:54:40 +0530 |
---|---|---|
committer | anuja <anuja@labadmin-Vostro1510.(none)> | 2012-07-18 16:54:40 +0530 |
commit | 0e1ae1d29b9ce5b9b55984d5f2207ddef3fa187d (patch) | |
tree | 17e08c495fe135c6a1958818cb15241f5344d9b1 /gstudio/admin/attribute_booleanfield.py | |
parent | 70558a843bf579d0ec62c9acbd98e249bdaf8103 (diff) | |
download | gnowsys-0e1ae1d29b9ce5b9b55984d5f2207ddef3fa187d.tar.gz |
Added "metatypes" field to some tables in models
Diffstat (limited to 'gstudio/admin/attribute_booleanfield.py')
-rw-r--r-- | gstudio/admin/attribute_booleanfield.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gstudio/admin/attribute_booleanfield.py b/gstudio/admin/attribute_booleanfield.py index e5d29fe..d2d64ca 100644 --- a/gstudio/admin/attribute_booleanfield.py +++ b/gstudio/admin/attribute_booleanfield.py @@ -15,6 +15,6 @@ class AttributeBooleanFieldAdmin(parent_class): ) prepopulated_fields = {'svalue': ('value',)} def save_model(self, request, attributebooleanfield, form, change): - attributebigintegerfield.title = attributeboofield.composed_sentence - attributebigintegerfield.slug = slugify(attributebigintegerfield.title) - attributebigintegerfield.save() + attributebooleanfield.title = attributebooleanfield.composed_sentence + attributebooleanfield.slug = slugify(attributebooleanfield.title) + attributebooleanfield.save() |