Django broken after Ubuntu 9.04 upgrade

I recently updated my personal laptop to Ubuntu 9.04. Everything went well during the upgrade, and it's all smooth sailing on the desktop afterwards. It's not an earth-shatteringly different upgrade but it's nice and solid.

The only problem is that it broke my local Django dev installs. I kept getting "Internal Server Error"s from Apache, and the following weird error when running Django's local dev server:

$ ./ runserver
Traceback (most recent call last):
  File "./", line 2, in <module>
    from import execute_manager
ImportError: No module named

After some searching I found this bug report on LaunchPad which basically says that with Ubuntu 9.04 Python2.6 no longer has /usr/local/lib/python2.6/site-packages in the path. You have to put your local code in /usr/local/lib/python2.6/dist-packages. Once I moved my code everything worked fine. <!-- SUMMARY_END -->