Conditionally display fields in admin

8 views
Skip to first unread message

Larry Martell

unread,
Jan 16, 2014, 4:11:44 PM1/16/14
to django...@googlegroups.com
I have an admin form for a model and based on the value of one column
(either as it is in the database or as it's entered or changed by the
user), I want to conditionally display or not display other fields. Is
there a way to do this natively in the admin or do I have to write
some javascript code. If I have to write some js code, where would I
put that code?

Thanks!
-larry
Reply all
Reply to author
Forward
0 new messages