I've just found that the problem is related to my desired
field being M2M.  Anyone know what is going on here? :(

My approach (and Matt's) works fine on a simple CharField field.

class Device(models.Model):
    # ...
    floor = models.CharField('Floor', max_length=10, blank=True)
    # ...

Device : old floor:
Device : new floor: 444444

Device : old floor: 444444
Device : new floor: 5555555555

Device : old floor: 5555555555
Device : new floor: 22

Device : old floor: 22
Device : new floor:

-- 
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+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to