trim spaces
modularize django settings module