I was just wondering why fields.RelatedField doesn't subclass models.Field?
The comment for RelatedField is that it's a hack, and from what I can see RelatedField doesn't override any of Field's functionatliy. This way, fields.ManyToMany and fields.ForeignKey wouldn't have to use multiple inheritance. I realise that a lot of though has gone into the ORM so I'm not challenging the design decision, I'm just curious as to why the desicion was taken. Any feedback would be most welcome! --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/django-developers?hl=en -~----------~----~----~----~------~----~------~--~---
