Thanks a lot for all the answers! Ray Don Arbow wrote: > On Oct 29, 2006, at 8:49 PM, Rares Vernica wrote: >> Where is the django function that does the "first_name" -> "First >> Name" >> transformation? (The function is used by the Admin interface.) > > > > It's in the result_headers method in django/contrib/admin/ > templatetags/admin_list.py. If you have a short_description function > attribute in your model, Django will use that, otherwise it will > replace all underscores with spaces. > > Check the model_api documentation in the list_display section for an > explanation: > > http://www.djangoproject.com/documentation/model_api/#list-display > > Don > > > > > >
--~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

