Yet another WSGI Paste factory for paste sponsored by Makina Corpus
Project description
Introduction
Yet another paste factories for django
Makina Corpus sponsored software
What is dj.paste
It is just another PythonPaste applications wsgi wrappers:
- dj.paste#mono or only dj.paste:
A paste factory to use when you have only one django on your instance
- dj.paste#multi
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
With paste, just add another app entry with a django_settings_module variable to point to your django settings
[composite:main] use = egg:Paste#urlmap / = foo [app:foo] use=egg:dj.paste django_settings_module=foo.settings
django factory
Checking that everything is in place:
>>> resp = app.get('/') >>> 'first django' in resp.body.lower() True
Changelog
1.11 (2012-02-22)
add weberror wrapper
1.10 (2012-02-22)
proper release
1.8
add a mono factory (and now the default)
cleanup
1.3 - 1.4
fix multiple djangos in the same paste instance
1.2
fix script_path, see http://code.djangoproject.com/ticket/1516
1.0
Initial release
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file dj.paste-1.11.zip
.
File metadata
- Download URL: dj.paste-1.11.zip
- Upload date:
- Size: 16.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 600d44d15cb1bbcb0fc19f2e50078072a62f9c3ffbc9b941f87ebe0c1bedc9a7 |
|
MD5 | 6b6f93183def886811d0e720fc73a909 |
|
BLAKE2b-256 | 9fc854cd78c3aaf5862a3f0b2e2de0a30abe24209fa3deb56e169a8faa526b5d |