Change buy and profile page views to generic TemplateViews.