Customizing form for Django's Admin (example)

/*--- holy mAcar00ns!! --- */

Minor customization of Django admin form.
brad's blog: A Custom form for Django's Automatic Admin.: "The problem here is that when I create or edit a Book object using the Automatic Admin, the author field is represented by a select element, whose options contain ALL User objects... listed by username! Wouldn't it be nice if we could have that listed as 'firstname lastname' or even as 'lastname, firstname'? You can! And here's how:"

all your bases ar--

ping moi pleeez


About this entry

pacman is coming

nuck nuck

e belong to us!