Both the do follow and no follow atribute is good for seo purpose. But it should be in a percentage. For example do follow links should be 70% and no follow attribute should be 30 % because google checks both attributes. Getting backlinks from only do follow sites will get your site into the eyes of google and mark it as a suspisious site.