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

A quieter version of the default Django runserver.

The default runserver prints out a lot of information, and not all of it is useful. This packages removes most of the information printed, leaving only the important stuff:

  • Requests to some static assets are not logged
  • 304 Not Modified requests are not logged
  • Timestamps are no longer included. Most of the time, these are noise
  • The common response types GET and POST are abbreviated to G and P
  • GET query strings are logged on a separate, slightly indented line, allowing for easy differentiation.

Example:

200 G /
200 G /static/styles.css
200 G /search/
  ?q=foo&sort=date
200 G /item/123/
301 P /item/123/
200 G /item/123/

Installing

Install this package:

pip install djangoquietrunserver

Include it in your INSTALLED_APPS:

INSTALLED_APPS += (
    'djangoquietrunserver',
)

Using

Use runserver-- instead of runserver:

python manage.py runserver--

Monkey patching

If you do not want to use runserver--, you can monkey patch Django so that the default runserver will use the quieter logging by default. If you’re running Django 1.7 or above, use the following in your INSTALLED_APPS instead:

INSTALLED_APPS += (
    'djangoquietrunserver.apps.MonkeypatchConfig',
)

If you’re running an older version of Django, enable the monkeypatch by adding the following lines to your manage.py, just after the import sys line:

import djangoquietrunserver.monkeypatch
djangoquietrunserver.monkeypatch()
Release History

Release History

0.2.0

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

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-quiet-runserver-0.2.0.tar.gz (3.3 kB) Copy SHA256 Checksum SHA256 Source Dec 31, 2014

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