Skip to main content
Help improve PyPI by participating in a 5-minute user interface survey!

Yet another WSGI Paste factory for paste sponsored by Makina Corpus

Project Description

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.0

  • Initial release

Release history Release notifications

This version
History Node

1.14

History Node

1.13

History Node

1.12

History Node

1.11

History Node

1.10

History Node

1.9

History Node

1.8

History Node

1.7

History Node

1.6dev

History Node

1.5dev

History Node

1.4dev

History Node

1.3dev

History Node

1.2dev

History Node

1.1dev

History Node

1.0dev

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
dj.paste-1.14.zip (16.9 kB) Copy SHA256 hash SHA256 Source None Feb 22, 2012

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page