Hi I'm having a problem with some of my modelling for an app I'm building.
The 2 models of interest i'm using are class Fixture(models.Model): team = models.ForeignKey(Team, "Team", core=True, help_text="The Howden team involved in the fixture e.g. Under 8's or Senior 1st Team.") venue = models.CharField("Venue", maxlength=1, choices=Fixture_Choices, core=True, help_text="Home or Away.") date = models.DateField("Date", core=True, help_text="Date of fixture DD/MM/YY.") opponent = models.CharField("Opponent", maxlength=100, core=True, help_text="Name of Opposition to be played.") KO = models.TimeField("Kick Off Time", help_text="Time of Kick Off in 24 hour clock format, e.g. 10:00, or 14:00") competition = models.ForeignKey(Competition, "Competition", core=True, help_text="Competition fixture is for e.g. East Riding County League 4.") class Admin: pass list_display = ('date', 'team', 'opponent', 'venue', 'KO', 'competition') list_filter = ['date', 'team', 'competition'] search_fields = ['date'] ---------------------------- class Result(models.Model): result = models.OneToOneField(Fixture, "Fixture from", core=True, help_text="Select the fixture this is the result from.") howdenscore = models.IntegerField("Howden Score", core=True, help_text="Score obtained by the Howden Team e.g. 3") opponentscore = models.IntegerField("Opponent Score", core=True, help_text="Score obtained by the opposition team e.g. 0") class Admin: pass list_display = ('result', 'howdenscore', 'opponentscore',) list_filter = ['result',] search_fields = ['result'] I was wondering in the admin panel for the result, I have list_display = ('result', 'howdenscore', 'opponentscore') Is there anyway I can get that admin page to show some of the details from the fixture class? e.g. list_display = ('fixture.date', 'fixture.team', 'fixture.venue', 'fixture.opponent', 'howdenscore', 'opponentscore') TIA (again) DuncanM --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com 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 -~----------~----~----~----~------~----~------~--~---