1👍
✅
self
is not accessible where you are using.
You need to use Django Forms
and customize the choices for the form field based on selected dbTable
👤kia
Source:stackexchange.com