Added changes for django 1.5 compatibility

simple was removed, RedirectView and custom TemplateView class used instead.