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-latency is a django application that only contains middleware to simulate network latency on your local machine. It causes your views to take several seconds to return.

This helps you identify client-side code that relies on low-latency server side code, which is generally an anti-pattern.

Like a runner training with weighted shoes, django-latency lets you feel the pain of client-server dependencies.

Set Up

Setting up django-latency is easy. After it is installed in your environemnt and on your path, simply add the middleware class to your MIDDLEWARE_CLASSES list:

MIDDLEWARE_CLASSES = (
    ...
    'latency.middleware.LatencyMiddleware',
    ...
)

django-latency optionally accepts a settings variable called LATENCY_MIDDLEWARE. Currently, LATENCY_MIDDLEWARE is a dictionary whose only key is “WAIT_TIME,” a floating point value.

For example:

LATENCY_MIDDLEWARE = {
    'WAIT_TIME': 5.0
}
Release History

Release History

0.0.1.1

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

0.0.1

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-latency-0.0.1.1.tar.gz (1.8 kB) Copy SHA256 Checksum SHA256 Source Feb 17, 2013

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