开发者

django custom command

开发者 https://www.devze.com 2022-12-18 00:00 出处:网络
How i can get the current settings in a custom command and not the defaul setti开发者_运维技巧ngs?With the attribut can_import_settings = True in your class Commandfrom django.conf import settings

How i can get the current settings in a custom command and not the defaul setti开发者_运维技巧ngs?


With the attribut can_import_settings = True in your class Command


from django.conf import settings

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号