Welcome, guest | Sign In | My Account | Store | Cart

Notice! PyPM is being replaced with the ActiveState Platform, which enhances PyPM’s build and deploy capabilities. Create your free Platform account to download ActivePython or customize Python with the packages you require and get automatic updates.

Download
ActivePython
INSTALL>
pypm install dj.paste

How to install dj.paste

  1. Download and install ActivePython
  2. Open Command Prompt
  3. Type pypm install dj.paste
 Python 2.7Python 3.2Python 3.3
Windows (32-bit)
1.14 Available View build log
1.9 Available View build log
Windows (64-bit)
1.14 Available View build log
1.9 Available View build log
Mac OS X (10.5+)
1.14 Available View build log
1.9 Available View build log
Linux (32-bit)
1.14 Available View build log
1.9 Available View build log
Linux (64-bit)
1.14 Available View build log
1.9 Available View build log
 
License
BSD
Dependencies
Lastest release
version 1.14 on Feb 23rd, 2012

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

Subscribe to package updates

Last updated Feb 23rd, 2012

Download Stats

Last month:4

What does the lock icon mean?

Builds marked with a lock icon are only available via PyPM to users with a current ActivePython Business Edition subscription.

Need custom builds or support?

ActivePython Enterprise Edition guarantees priority access to technical support, indemnification, expert consulting and quality-assured language builds.

Plan on re-distributing ActivePython?

Get re-distribution rights and eliminate legal risks with ActivePython OEM Edition.