Fixes in follow module for compatibility with django 1.4