How to create settings like AUTH_USER_MODEL for own model in django?

后端 未结 0 1651
小蘑菇
小蘑菇 2021-02-06 14:02

Suppose i\'ve model called

class A(models.Model):
   name = ....
   age = ....

Now I want to access this model using settings file.

for e

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