Table LOINCCode has loinc_obr4 (a number) and a description field
(describing the number).

Model Statement:
Class StandardCode(models.Model):
  loinc_obr4 = models.ForeignKey(LOINCCode, null=True, default=1,
related_name='loinccodeobr4')

In the Admin:
fieldsets =[
       (None,      {'fields': [('loinc_obr4')]})
       ]

The admin template shows the loinc_obr4 field, but I need the
description to also appear with the loinc_obr4.  How do I expand the
foreign key in the admin to add more attributes in the drop down?
ACCESS has this capability when creating a combo box.

Thx,

Jesse

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to