I have a django model (schedule) with the class of entity, that is the parent of activity, that is the parent of event.
class Entity(models.Model): <...>
class Activity(models.Model): <...> team_entity = models.ForeignKey(Entity) <...>
class Event(models.Model): <...> activity = models.ForeignKey(Activity) <...>
The question is how do I serialize and get bot the child object and grand children as part of the json file.
Note: be kind, this is my first time I have posted a question (in any public form). Steven.