On 4 abr, 19:25, Natim <
hubscher.r...@gmail.com> wrote:
> You should define the save method for Translation.
>
> class MyModel(models.Model):
> slug = models.SlugField(editable=False, max_length=30,
> unique=True)
>
> class Translation(multilingual.Translation):
> name = models.CharField(max_length=30)
>
> def save(self):
> parent = MyModel.objects.get(pk=self.master_id)
> parent.slug = slugify(
self.name)
> parent.save()
> super(MyModel.Translation, self).save()
>
> Something like that but with a test to do it only for the en language.
thanks, that works. I was avoiding the relationship between the
original model and the translation model.