from django.views.generic import TemplateView
urlpatterns = patterns('', url('^$', TemplateView.as_view(template_name=
    'homepage.html'), name='home'))
How can I satisfy an import of direct_to_template?