wrong data on save
Hi all,
I have this change list in admin. On this list I can edit two fields inline.
Problem is, on save, in overridden method "save_model(self, request, obj, form, change)", when I check for data integrity, sometimes values of these two fields from post, form and model differ.
When it happens, many saved rows show this behavior.
Without this integrity control, django would have save wrong data in db.
Thanks for your time and sorry for my bad english.
-- I have this change list in admin. On this list I can edit two fields inline.
Problem is, on save, in overridden method "save_model(self, request, obj, form, change)", when I check for data integrity, sometimes values of these two fields from post, form and model differ.
When it happens, many saved rows show this behavior.
Without this integrity control, django would have save wrong data in db.
Thanks for your time and sorry for my bad english.
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
For more options, visit https://groups.google.com/groups/opt_out.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home