另一家由makina corpus赞助的wsgi粘贴工厂
dj.paste的Python项目详细描述
Introduction
还有一家为django生产的工厂paste
What is dj.paste
它只是另一个PythonPaste applicationswsgi包装器:
- ^{tt1}$ or only ^{tt2}$:
- A paste factory to use when you have only one django on your instance
- ^{tt3}$
- A paste factory to use when you have more than one django on your instance but be careful that there is a fakeDjangoModule trick that can lead to problems (not seen so far)
How to use dj.paste
Django App
使用paste,只需添加另一个带有django_settings_模块变量的应用程序条目,以指向 您的django设置
[composite:main] use = egg:Paste#urlmap / = foo [app:foo] use=egg:dj.paste django_settings_module=foo.settings