class StaticView(TemplateView):

    def get(self, request, page, *args, **kwargs):
        self.template_name = page
response = super(StaticView, self).get(request, *args, **kwargs)
try:
    return response.render()
except TemplateDoesNotExist:
    raise Http404()
Django urls straight to html template