Customizing the admin form

8 views
Skip to first unread message

Cu7l4ss

unread,
Aug 24, 2011, 6:38:36 PM8/24/11
to django...@googlegroups.com
Hi,

I have customized a model admin form, editing the label_for_instance for a ForeignKey field and a MultiChoice Field.
As a result the plus button was gone. How can I insert it back? (didn't find anything in the documentation)

Couple more questions:
1. I have a django mptt key and when I edit I can pick the same element(how can I populate it without the one that I edit)
2. How can I add descriptions for the fields
3. How can I remove the validation of certain elements and insert my own(I'm using a slug field and it doesnt accept anything but ascii, I fixed it so it would work with utf8 but the validation remained)


Thanks !!

Reply all
Reply to author
Forward
0 new messages