def sync_payment_source_from_stripe_data(customer, source):
    if source["id"].startswith("card_"):
        return sync_card(customer, source)
    else:
        return sync_bitcoin(customer, source)
A simple way to read bootstrap settings in a template.
dataset/ETHPy150Open pinax/pinax-stripe/pinax/stripe/actions/sources.py/sync_payment_source_from_stripe_data--crossover with--dataset/ETHPy150Open dyve/django-bootstrap3/bootstrap3/templatetags/bootstrap3.py/bootstrap_setting