def total_monetized(self):
    if self.currency == 'euro':
        return '&euro; %s' % euro(self.total)
    elif self.currency == 'gbp':
        return '&pound; %s' % pound(self.total)
    elif self.currency == 'dollar':
        return '&dollar; %s' % pound(self.total)
    if self.currency == 'sgd':
        return '&dollar; %s' % pound(self.total)
    elif self.currency == 'sek':
        return '&kronor; %s' % sek(self.total)
Searches LDAP for user, assumes ldap_search is set.
dataset/ETHPy150Open bread-and-pepper/django-brookie/brookie/admin.py/total_monetized--crossover with--dataset/ETHPy150Open dpgaspar/Flask-AppBuilder/flask_appbuilder/security/manager.py/BaseSecurityManager._search_ldap