rearrange for and try/except nesting in settings context processor
Merge pull request #10 from ff0000/feature/settings-context

rearrange for and try/except nesting in settings context processor