title: django serving robots.txt efficiently
body: <p>Here is my current method of serving robots.txt</p>
  
  <pre><code>url(r'^robots\.txt/$', TemplateView.as_view(template_name='robots.txt',
                                              content_type='text/plain')),
  </code></pre>
  
  <p>I don't think that this is the best way. I think it would be better if it were just a pure
  static resource and served statically. But the way my django app is structured is that the static root and all subsequent static files are located in </p>
  
  <pre><code>http://my.domain.com/static/stuff-here
  </code></pre>
  
  <p>Any thoughts? I'm amateur at django but </p>
  
  <pre><code> TemplateView.as_view(template_name='robots.txt',
                                    content_type='text/plain')
  </code></pre>
  
  <p>looks a lot more resource consuming than just a static call to my static directory which is served on nginx.</p>