changed from PostManager to PostQuerySet, fixed some tests from "assert x not in y" to "assertNotContains(y, x)" for checking content of page. removed some unused imports.