Friday, September 10, 2010

custom model fields are always "modified" when saving from the admin change form

Hi.

I've wrote a custom model field which splits strings by commas and
returns a list of values. Everything works fine except the admin -
after editing a record admin treats the custom fields as modified even
if they were actually not, issuing an UPDATE query for (not modified)
record and adding a history record.

How could I have that been fixed?

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

No comments:

Post a Comment