-
Book Overview & Buying
-
Table Of Contents
Django 1.1 Testing and Debugging
By :
We have now reached the end of discussing the move to production for a Django application. In this chapter, we:
Developed a configuration to support running the marketr project under Apache with mod_wsgi.
Encountered a number of problems getting the project running under Apache. For each, we saw how to diagnose and fix the issue.
Considered what additional testing could be done in the new environment, given its ability to run multiple threads concurrently.
Developed a test for the code that records posted survey responses, and observed that the code did not operate correctly under heavy load in the production environment.
Fixed the problem found in the results recording code, and discussed other techniques that may be needed to fix more complex multithreading problems.
Discussed the possibility of using Apache and mod_wsgi during development. This configuration can be made nearly as convenient for development as the Django development server, and use of the production setup during development...
Change the font size
Change margin width
Change background colour