Link choicefield to another within the same form django admin

I have a problem about the django admin panel. I am making a form (model) and I want there to be a selection field, and when selecting it, it shows new fields.

This form will be used in the django panel, not by a template. Please look at the example image.

see example image

Back to Top