On 7 déc, 18:55, Waqqas Jabbar <waqqas.jab...@gmail.com> wrote: > I want that I could override get/set on a field of my model. I want to > redirect get/set > to another field of some other model.
So what you want is not "a field of your model", it's to expose another field of another model as if it was an attribute of the model ? If yes, the first solution that comes to mind is a property (if you don't know what a property is, it's time you learn Python) - but you didn't provide enough informations to make sure this is really the right solution. -- 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.