How to distinct in save() method of the model if the save operation
will be update or insert.

I want to know it BEFORE doing the save().
I want to know it WITHOUT doing a select to a database.

THe reason for that : i want to check the database conditions for the
insert to initiate.

Currently i can only imagine i could do my own function save_insert()
save_update() and initiate them when needed , isnt there any simpler
method??


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