django_concurrent_test_server 0.1

Django app to give a concurrent alternative to the runserver command

  Add it to your Download Basket!

 Add it to your Watch List!

0/5

Rate it!
send us
an update
LICENSE TYPE:
Other/Proprietary License
USER RATING:
UNRATED
  0.0/5
DEVELOPED BY:
James Aylett
HOMEPAGE:
github.com
CATEGORY:
ROOT \ Internet \ HTTP (WWW)
django_concurrent_test_server is a quick hack that provides a runconcurrentserver command, broadly similar to Django ticket:3357 without patching Django itself.

Usage:

1. Drop the django_concurrent_test_server directory somewhere on your PYTHONPATH
2. Add django_concurrent_test_server to your INSTALLED_APPS
3. If threads worry you, and bearing the above warning in mind, set CONCURRENT_THREADING = False in settings.py to use forking
4. Use ./manage.py runconcurrentserver to start a concurrent server
5. (optional) Add CONCURRENT_RANDOM_DELAY = True to your settings.py to introduce a small, random delay into each request; useful for finding race conditions. (By < http://github.com/wolever >.)
6. (option) Set RUNSERVER_DEFAULT_ADDR / RUNSERVER_DEFAULT_PORT in settings.py to override the defaults without having to hack the code. Useful for people who don't like aliases, or move things between machines a lot.

Last updated on January 17th, 2011

requirements

#concurrent alternative #Django runserver #runserver #concurrent #Django #server

Add your review!

SUBMIT