This is a pre-production deployment of Warehouse, however changes made here WILL affect the production instance of PyPI.
Latest Version Dependencies status unknown Test status unknown Test coverage unknown
Project Description

Django Fail provides tools for testing your site under less-than-ideal conditions.

When working locally, response times are near instant, and there is no entropy introduced by network hardware (e.g. proxies or load balancers) that may, for some reason or other, fail.

Django Fail helps you test what happens when some parts of your site don’t load or load slowly. This can be particularly helpful for responses used in Ajax-powered applications.

@fail(status=500, content='', mimetype='text/html')

The @fail() decorator makes a view return some kind of failure response, instead of a real response.

For the arguments, status is the status code, normally 500, content is any content to return, normally '', and mimetype is the mimetype of the response, normally text/html.

The @fail() decorator can be globally disabled by adding FAIL_ON = False to


The @slow() decorator makes a response wait a while before returning. The delay is in seconds and defaults to 2.

The @slow() decorator can be globally disabled by adding SLOW_ON = False to

Release History

Release History


This version

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

Download Files

Download Files

TODO: Brief introduction on what you do with files - including link to relevant help section.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
django-fail-0.1.0.tar.gz (3.0 kB) Copy SHA256 Checksum SHA256 Source Feb 28, 2011

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS HPE HPE Development Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting