summaryrefslogtreecommitdiff
path: root/settings.py
diff options
context:
space:
mode:
authorPrabhu Ramachandran2011-11-19 15:52:04 +0530
committerPrabhu Ramachandran2011-11-19 15:52:04 +0530
commitdb74ad784752eea326982c4e84faf9ec3768e006 (patch)
treeca87cc096936b57fceeb80794d7a5ac5d555c850 /settings.py
parent759d1da9a8e8221f999550042fbcb96ac5083607 (diff)
downloadonline_test-db74ad784752eea326982c4e84faf9ec3768e006.tar.gz
online_test-db74ad784752eea326982c4e84faf9ec3768e006.tar.bz2
online_test-db74ad784752eea326982c4e84faf9ec3768e006.zip
Configure server port and timeout in settings.py
Also updated documentation.
Diffstat (limited to 'settings.py')
-rw-r--r--settings.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/settings.py b/settings.py
index f540c1b..11a44a2 100644
--- a/settings.py
+++ b/settings.py
@@ -5,6 +5,12 @@ from os.path import dirname, join, basename, abspath
DEBUG = True
TEMPLATE_DEBUG = DEBUG
+# The port the Python server should run on.
+SERVER_PORT = 8001
+
+# Timeout for the code to run in seconds.
+SERVER_TIMEOUT = 2.0
+
ADMINS = (
# ('Your Name', 'your_email@example.com'),
)