On 7/11/07, Carl Karsten <[EMAIL PROTECTED]> wrote: > I am hoping to do something like > contact = models.ForeignKey(User, list_display = ('first_name', 'last_name') )
A big -1 on this idea. This mixes the data representation with the display representation. One of the major reasons for the newforms-admin rewrite is to avoid mixes like this. If you want to affect the display of a foreign key, you can (and should) do it on the form. The default display will be __str__, but you can easily replace the display list. Yours, Russ Magee %-) --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---