def get_template_names(self):
posted_name = self.request.POST.get('<STR_LIT>')<EOL>if posted_name:<EOL><INDENT>return [posted_name,]<EOL><DEDENT>else:<EOL><INDENT>return super(PagePreviewView, self).get_template_names()<EOL><DEDENT>
Return the page's specified template name, or a fallback if one hasn't been chosen.