diff options
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() |