Comment on Django-bcryptparentComments−Jasber15y> Remember how to allow for an optional setting (`if foo in settings` and `settings.get(foo, default)` don't work).Instead of: settings.get(foo, default) Try: getattr(settings, foo, default) This looks useful. Thanks.−steveloshOP15yGood idea, pushed!
Comments
> Remember how to allow for an optional setting (`if foo in settings` and `settings.get(foo, default)` don't work).
Instead of:
Try: This looks useful. Thanks.Good idea, pushed!