Heyas So I'm sure this is pretty basic, but I don't seem to be able to get the following to work and I cant seem to find suitable info on google or the django site.
I've got my model: class person(models.Model): gender = models.CharField(max_length=1, choices=(('M','male'), ('F','female)) other = models.CharField(manx_length=20, null=True,blank=True) def save(self, force_insert=False, force_update=False): if 'M' == self.gender: self.other = 'Manly Man' else: self.other = 'Womanly Woman' super(person, self).save(force_insert, force_update) The issue is whenever I update or create a 'person' in the django admin site, it doesnt seem to call my save(). Am I missing something? I've not looked into signals but I thought that overriding save() still worked, just that signals were for removing non-save like operations from the save() fn (ie send email on save). Anyway, it's late and I'm probably missing something basic, but I've been searching the net for a while now and just cant seem to get it to work. Thanks --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---