On Mon, Jul 25, 2011 at 2:03 PM, webcomm <rya...@gmail.com> wrote: > I want to override the save method in one of my models. How do I know > if I'm calling save on a newly created item or on one that is already > in the database? How to make that distinction in my save method?
if it has an id, it's not new -- Javier -- 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.