Customizing form for Django's Admin (example)
/*--- holy mAcar00ns!! --- */
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
You’re reading “
- Published:
- 6:21 PM
pacman is coming
nuck nuck
e belong to us!
0 Comments (Post a Comment)