define BASE_DIR in localsettings