Conditionally display fields in admin
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
--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CACwCsY4%2BaH8iNLqePs5H%2BjQTi-ROHe5EhuZG2RGMiYg3cLAdKw%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home