Improved example for local_settings