Use Class Based Views for compatibility with django 1.5