__str__ will always return name (and may cause server traffic) while __repr__ will show the URL (and will not cause server traffic - but will basically show everything needed to recreate the calendar object).
Earlier __str__ would show name if it was available, otherwise URL, and would never initiate server traffic - and __repr__ was calling __str__.
__str__
will always return name (and may cause server traffic) while__repr__
will show the URL (and will not cause server traffic - but will basically show everything needed to recreate the calendar object).Earlier
__str__
would show name if it was available, otherwise URL, and would never initiate server traffic - and__repr__
was calling__str__
.