How do I get Apache to run Python 2.7 rather than 2.5?
Solution 1:
Is there a real reason you need Python 2.7? Django can be installed for 2.5, and the Debian packages will keep security related patches applied to python 2.5. Why not just keep everything stock from Debian's repositories, and install Django for 2.5? That will save you quite a bit of compiling things from source, making installation easier, It will also keep upgrades and maintenance far simpler, and less likely to break in the future.
--Christopher Karel