from django.conf.urls import url
from django.views.generic import TemplateView
urlpatterns = [url('^robots.txt$', TemplateView.as_view(template_name=
    'robots.txt', content_type='text/plain'), name='robots_file')]
How do I go straight to template, in Django's urls.py?