Examples
A school curriculum includes teaching of evolution in science lessons. This would not be religious discrimination against a pupil whose religious beliefs include creationism.
A school curriculum includes The Taming of the Shrew on the syllabus. This would not be discrimination against a girl.