How to pass active user to Django ModelForms

前端 未结 0 1804
栀梦
栀梦 2020-11-28 09:10

In my form, I must filter the "tenant" choice field so that it displays only tenants associated to the active user\'s organization. So I\'m simply passing an extra

相关标签:
回答
  • 消灭零回复
提交回复
热议问题