if it's not managed by a condo board, i don't see how a townhome can say anything about a dog or not. especially in Ontario.
a townhome is just a type of unit (untis in a row with no seperation).I can't imagine that most townhomes are part of a condo group. There must be some variety of townhome options that are not privatized/with a condo development.
i'm be tempted to avoid condos. one option is to go to dog parks near condos/places you want to live and talk to dog owners. see where they live (generally close enough to the park).
For townhomes - try for an end unit, you get more yard usually