Yet another WSGI Paste factory for paste
Project description
Introduction
Yet another pastes factories for django and werkzeug
What is dj.paste
It is just another wsgi wrappers:
one for django
one for getting an app factory for werkzeug’s DebuggedApplication
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
DebuggedApplication App
With paste, just add another filter entry and enable debug::
[DEFAULT] debug=true [composite:main] use = egg:Paste#urlmap / = p [pipeline:p] pipeline = exc foo [app:foo] use=egg:dj.paste django_settings=foo.settings [filer:exc] use=egg:dj.paste#debug
DOCTESTS
django factory
Checking that everything is in place:
>>> resp = app.get('/') >>> 'first django' in resp.body.lower() True
Changelog
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
dj.paste-1.3dev.tar.gz
(8.2 kB
view details)
File details
Details for the file dj.paste-1.3dev.tar.gz
.
File metadata
- Download URL: dj.paste-1.3dev.tar.gz
- Upload date:
- Size: 8.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a925a853f263003fce9ed9821f22f59adc34de167c2118c751350c27d295f54f |
|
MD5 | a47657c81dca93d7621c07fec2cbb94b |
|
BLAKE2b-256 | 3b66e20a70ec92a764d467f6756993c42434e586565758d9d3dcf8b498cdf9e5 |