Re: manipulating the value before save()

2007-01-14 Thread Tim Chase
I think you're looking for the save-and-delete hooks: http://www.djangoproject.com/documentation/models/save_delete_hooks/ They will allow you to make the changes before the object is saved without overriding django's own internal save functionality. If I understand this correctly, it's for

Re: manipulating the value before save()

2007-01-14 Thread Adam Fast
I think you're looking for the save-and-delete hooks: http://www.djangoproject.com/documentation/models/save_delete_hooks/ They will allow you to make the changes before the object is saved without overriding django's own internal save functionality.

manipulating the value before save()

2007-01-13 Thread Tim Chase
I'm trying to make a RelaxedPhoneNumber field that normalizes user input to an internal representation of purely digits before getting saved, and then presents in a particular format. I'm having trouble finding where to intercept and change the value. I want to do it on the field level, as I