阅读背景:

如何在不使用Django其余部分的情况下使用Django模板?

来源:互联网 

I want to use the Django template engine in my (Python) code, but I'm not building a Django-based web site. How do I use it without having a settings.py file (and others) and having to set the DJANGO_SETTINGS_MODULE environment variable?I want to use the Django template engine in my




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: