fix for django test (configure settings)