fix settings.py and wsgi.py templates for relative directories