title: Django REST API TemplateDoesNotExist Apache
body: <p>I am trying to do the <a href="http://django-rest-framework.org/tutorial/quickstart.html" rel="nofollow">this tutorial</a> for the Django REST API Framework.</p>
  
  <p>When testing using my Apache setup I get this error when trying to browse the pages:</p>
  
  <pre><code>TemplateDoesNotExist at /
  rest_framework/api.html
  </code></pre>
  
  <p>However, if I test with the Python test web server by running <code>python ./manage.py runserver</code> it works fine.</p>
  
  <p>Is there some configuration changes I need to make in Apache to fix this?</p>
  
  <p>Thanks in advance.</p>
  
  <p>EDIT</p>
  
  <p>I notice that it is looking in the wrong place for the file:</p>
  
  <pre><code>Django tried loading these templates, in this order:
  Using loader django.template.loaders.filesystem.Loader:
  Using loader django.template.loaders.app_directories.Loader:
  /usr/local/lib/python2.7/dist-
  packages/django/contrib/auth/templates/rest_framework/api.html (File does not exist)
  </code></pre>
  
  <p>However I am unable to find where to change this.</p>