tx for the reply sry about the double post
On Jan 5, 3:07 pm, David Zhou <[EMAIL PROTECTED]> wrote:
On Jan 5, 2007, at 2:04 PM, leanmeandonothingmachine wrote: > How do you get values that will be written to the db in a models > save(self) method before you save the changes to the db? I tried > self.field but that gives what the current db value is? I need change > the data that is being written, but I'd rather not have to do multiple > writes to the db.self.<field> returns the value about to be written for me? Are you sure it's retrieving the value from the db? --- David Zhou [EMAIL PROTECTED]
--~--~---------~--~----~------------~-------~--~----~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---