Django limiting Foreign Key values based on model field choice

后端 未结 0 1538
小蘑菇
小蘑菇 2020-12-19 07:09

Currently I have two tables, user types and user subtypes, that needs to be related based on condition.
For example.:
The UserType USER_A can only be related to Use

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