Thank you, that seems like a clean way to do it. I'm getting a weird error when overriding init though. When I simply do this:
class Entry(models.Model): title = models.CharField(max_length=255) slug = models.SlugField(max_length=255) body = models.TextField() user = models.ForeignKey(User) created = models.DateTimeField(auto_now_add=True) def __init__(self, *args, **kwargs): print self super(Entry, self).__init__(*args, **kwargs) def __unicode__(self): return self.title I'm getting an error. There something i'm missing when overriding init? On Apr 21, 12:46 pm, Shawn Milochik <sh...@milochik.com> wrote: > One way: > > Override __init__ and setting self.old_title to be self.title. > > Then, in your save(), you can see if self.title != self.old_title. > > Shawn > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To post to this group, send email to django-us...@googlegroups.com. > To unsubscribe from this group, send email to > django-users+unsubscr...@googlegroups.com. > For more options, visit this group > athttp://groups.google.com/group/django-users?hl=en. -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@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.