开发者

Why can't I find '__path__' in django.db.__init__.py?

开发者 https://www.devze.com 2022-12-15 03:03 出处:网络
backend_dir = os.path.join(开发者_C百科__path__[0], \'backends\') Why can\'t I find it?Set settings.DATABASE_ENGINE in settings.py.
backend_dir = os.path.join(开发者_C百科__path__[0], 'backends')

Why can't I find it?


Set settings.DATABASE_ENGINE in settings.py.

The execution reaches the line you mentioned only if the back-end is not standard.

0

精彩评论

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