def delete_card_object(source):
    if source.startswith("card_"):
        return models.Card.objects.filter(stripe_id=source).delete()
Deletes the local card object (Card)
dataset/ETHPy150Open pinax/pinax-stripe/pinax/stripe/actions/sources.py/delete_card_object