Django evaluate python code accessing django model instance attributes in model method

前端 未结 0 1012
时光说笑
时光说笑 2020-12-23 01:54

I am using Django 3.1 and I want to create a model that allows an admin user to specify custom logic (Python code) as a field on the model.

/path/to/app/models.py

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