python通过字符串导入模型

import importlib

urls = importlib.import_module("myproject.urls")
posted @ 2022-05-01 19:57  小默同学  阅读(43)  评论(0)    收藏  举报