Imagine the following model: class Article(models.Model): title = models.IntegerField()
Then when you do case 1): art = Article.objects.get(pk=1) art.title = "New title" art.save() or case 2): art = Article.objects.get(pk=1) art.save() Is there a way that the model, before saving, knows whether the title (or any other field) has been reassigned? I need to know because for a datefield I want to use now if no explicit date is given, otherwise the given date. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---