test_migration_utils.py 文件源码

python
阅读 27 收藏 0 点赞 0 评论 0

项目:django-zerodowntime 作者: rentlytics 项目源码 文件源码
def reinitialize_django_apps(self):
        apps.app_configs = OrderedDict()
        # set ready to false so that populate will work
        apps.ready = False
        # re-initialize them all; is there a way to add just one without reloading them all?
        apps.populate(settings.INSTALLED_APPS)
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号