Is there a way to update an app config based on an overridden setting in a Django TestCase?

后端 未结 0 1959
慢半拍i
慢半拍i 2021-01-20 13:11

For example, if given a method that relies on the app config:

def foo():
    if apps.get_app_config(\'some_app\').bar:
        return True

Wh

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