summaryrefslogtreecommitdiff
path: root/settings.py
AgeCommit message (Collapse)Author
2011-11-26Updating settings to add URL_ROOT for admin media.Prabhu Ramachandran
2011-11-25ENH: Using south to enable easy db migrations.Prabhu Ramachandran
2011-11-25ENH: First cut of CSS for pages.Prabhu Ramachandran
This is largely taken from other sites and looks reasonable for now. Also added links to the admin page from the monitor/user_data/grade_user.
2011-11-24Configuring logging to be a tad more useful.Prabhu Ramachandran
2011-11-24ENH: Creating a ServerPool for code checksPrabhu Ramachandran
Changed the server so we use a pool of servers managed with a Queue of available servers. The XML/RPC client is also changed to handle connection failures gracefully. This is because XML/RPC cannot have more than 2 connections at a given time, so if there is an error, we wait for a random amount of time and try again. This allows us to handle fairly large loads nicely.
2011-11-22Setting STATIC_ROOT to /tmp/static for now.Prabhu Ramachandran
2011-11-20ENH: Adding a URL_ROOT configuration option.Prabhu Ramachandran
This is useful when you are forced to host the app on a URL like host.org/foo/exam and not as host.org/exam as you would want. Change the URL_ROOT setting to "/foo" in the above case for this to work.
2011-11-20ENH: Python server can now run multiple serversPrabhu Ramachandran
- the SERVER_PORTS is now a list of ports and when you run python_server.py it will run as many servers as desired. - python_server.py now will create multiple servers via multiprocessing. - the xmlrpc_clients.py is changed to deal with these multiple servers. This allows us to handle many incoming requests. These changes allow us to run the online test for many users. We had over 400 simultaneous users and a total of about 650 users using the app with these modifications.
2011-11-19BUG: Misc. bug fixes.Prabhu Ramachandran
- Timeout for signal.alarm is an integer. - The total_seconds method on timedelta is new to 2.7 and doesn't work on older versions.
2011-11-19Configure server port and timeout in settings.pyPrabhu Ramachandran
Also updated documentation.
2011-11-08Making settings directory independent.Prabhu Ramachandran
2011-11-08Updating timezone to India.Prabhu Ramachandran
2011-11-08NEW: First cut of exam app.Prabhu Ramachandran
This application allows us to create questions via the admin interface. The questions are proper programming questions and one enters test cases for each question. The user logs in and submits the answer which is checked. The app is rather simple now but does work.