Checking for a setting (via settings.hasattr), and falling back to a hard-coded default value is a terrible solution, because your defaults are duplicated and buried. They should be easily discoverable.

Installation

Bugs!

This was created to scratch an itch for the RapidSMS project. I hope it will be useful to others, but it doesn't have any docs or tests yet, and hasn't been field tested. There are almost certainly bugs. Use it at your own risk. (But do use it, because it's way better.)

Patches and pull requests are very welcome.
Please file bugs on GitHub.