This seems to be a common problem for many others, but none of the other fixes have helped me. Here's my apache2/sites-available file:
<Location "/"> SetHandler python-program PythonHandler django.core.handlers.modpython SetEnv DJANGO_SETTINGS_MODULE getgps.settings PythonOption django.root / PythonDebug On </Location> Alias /media/css /home/getgps/media/css <Location "/media/css"> SetHandler None </Location>
And the error message:
Error: Could not import settings 'code.settings' (Is it on sys.path? Does it have syntax errors?): No module named settings
settings.py is located in /home/getgps/code/settings.py and /home/getgps/code is linked such that it is getgps in the python environment (if I type import getgps.settings into a command line it imports the file in question independent of where I am when I load the python command line).
tldr: sybolic link works, apache file is great, but it doesn't seem to like my file structure.