turns out i was modifying the values in a post_init and thats why I
thought I wasn't getting the right thing.

On Jan 5, 3:33 pm, "leanmeandonothingmachine"
<[EMAIL PROTECTED]> wrote:
tx for the reply sry about the double post

On Jan 5, 3:31 pm, "James Bennett" <[EMAIL PROTECTED]> wrote:

> On 1/5/07, leanmeandonothingmachine <[EMAIL PROTECTED]> wrote:

> > I have a model where I'm using the save(self) method, but I can't
> > figure out how to get the data that will be writen without writing it
> > to the db first. I need to modify a value that's being writen.Just acccess 
the various fields of the mode object; at the point
> save() is being called, the copy of the object in memory has already
> had its field values changed, regardless of whether the changes have
> been written into the database.

> --
> "May the forces of evil become confused on the way to your house."
>   -- George Carlin


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to