how to update choices of field in change_view

10 views
Skip to first unread message

richar...@gmail.com

unread,
Apr 18, 2019, 11:17:19 AM4/18/19
to Django users
hi There,
I have a field named A which has default choices, but when some filed named B was changed, i need to update the choices of filed A.
I have tried overried function get_form, formfield_for_choice_filed, none of them could update choice of A based on value of filed B.

Any help would be appreciated, thanks!
Reply all
Reply to author
Forward
0 new messages