Skip to main content

Yet another WSGI Paste factory for paste sponsorised by Makina Corpus

Project description

Introduction

Yet another paste factories for django

Makina Corpus sponsorised software

makinacom

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()
T

Changelog

UP

  • add a mono factory (and now the default)

1.3 - 1.4

  • fix multiple djangos in the same paste instance

1.2

1.0

  • Initial release

Project details


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.7.zip (15.8 kB view details)

Uploaded Source

File details

Details for the file dj.paste-1.7.zip.

File metadata

  • Download URL: dj.paste-1.7.zip
  • Upload date:
  • Size: 15.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for dj.paste-1.7.zip
Algorithm Hash digest
SHA256 75e8ac0582e282d6adbbb38b6c995f1a49a4146af6dd2a7dd4b9e80063c4ac31
MD5 dc21f8999c5826e5fdeb62261aa9c595
BLAKE2b-256 e3d928bcf9fb201557c766614b37dad0f6b4a32e056c00e28c0afdfd2e5e2e38

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page