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.14 (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
Metadata
Release files for dj.paste 1.14
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| dj.paste-1.14.zip | 16.9 kB | Without provenance | Details for dj.paste-1.14.zip |
Release files / dj.paste-1.14.zip
| Download URL | dj.paste-1.14.zip |
|---|---|
| Size | 16.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
49f07a9c27c575a7e9e319de8ae03a92925f5ed3fbe73581c098ecab1709f8d5
|
|
BLAKE2b-256 checksum How to use checksums |
9863b618360980aab30b29a64a28b7b4fcab68ae185d84be240d2bb5a077d3d1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for dj.paste 1.14
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.