Hi, I am relatively new with Django. With the admin interface I have a main table with foreign key table to supporting files. When I try and add a new record, the drop down field is only displaying the value of Status Object instead of the value of the Status field in the supporting table. Not exactly sure what the problem is. Any help would be greatly appreciated.
Here is my models.py script from django.db import models class Status(models.Model): Status = models.CharField(maxlength=50) class Admin: list_display = ['Status'] class Station(models.Model): StationName = models.CharField(maxlength=50) class Admin: list_display = ['StationName'] class Project(models.Model): ProjectName = models.CharField(maxlength=50) class Admin: list_display = ['ProjectName'] class Phase(models.Model): PhaseName = models.CharField(maxlength=50) class Admin: list_display = ['PhaseName'] class Type(models.Model): TypeText = models.CharField(maxlength=50) Category = models.CharField(maxlength=50) class Admin: list_display = ['TypeText', 'Category'] class Results(models.Model): TestName = models.CharField(maxlength=50) TestVersion = models.CharField(maxlength=50) ExecutionStartDate = models.DateTimeField('Execution Start Date') StatusId = models.ForeignKey(Status) ExecutionTime = models.IntegerField(core=True) StationId = models.ForeignKey(Station) SubmitDate = models.DateTimeField('Submit Date') Owner = models.CharField(maxlength=50) ProjectId = models.ForeignKey(Project) PhaseId = models.ForeignKey(Phase) TestTypeId = models.ForeignKey(Type) UserIntervention = models.BooleanField() class Admin: list_display = ['TestName', 'TestVersion'] Thanks, Jeff --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---