A landlord may refuse to rent an apartment to you if you wish to keep a pet or smoke indoors.  Your landlord may not refuse to rent to you because of gender, ethnicity, sexual orientation, etc. unless you are living with the owner’s family and share a kitchen/bathroom with them.  These regulations are included in provincial human rights codes and upheld by provincial human rights commissions (example: Ontario Human Rights Commission for the province of Ontario).