Hello *,
I've encountered a problem. I have a Match (football) which contains
relationship one-to-many with Goals.
class Match(models.Model):
title = models.CharField(max_length=150)
body = models.TextField()
...
class Goal(models.Model):
player = models.ForeignKey(Player)
moment = models.DateTimeField()
match = models.ForeignKey(Match)
What is the easiest\smartest way to enable adding Goals from Match
page ? I've read about Inline, but it doesnt works, because in this
way we will have loop import.
Thank you.
--
You received this message because you are subscribed to the Google Groups
"Django users" 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-users?hl=en.