I want to override the save for a model when saved from the proxy I've
tried commenting out as much as I can but it's still using the model save.
Here's my code.
class MovieProxy(Movie):
class Meta:
verbose_name = 'movie show'
proxy=True
def save(self, *args, **kwargs):
#super(MovieProxy, self).save(*args, **kwargs)
fily = open('post-{0}'.format(self.id),'w')
fily.write(*args)
fily.write('\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n')
fily.write(**kwargs)
fily.close()
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-users/da0cdf2f-fab0-4c35-ba7d-1748c4ab48e9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.