def get_stripe_dashboard_url(self) -> str:
        """Get the stripe dashboard url for this object."""
        if (
            not self.stripe_dashboard_item_name
            or not self.id
            or not self.source
            or not self.source.id
        ):
            return ""
        return f"{self._get_base_stripe_dashboard_url()}sources/{self.source.id}"
Get the stripe dashboard url for this object.
djstripe/models/payment_methods.py