title: render_to_response gives TemplateDoesNotExist
body: <p>I am obtaining the path of template using</p>
  <pre><code>paymenthtml = os.path.join(os.path.dirname(__file__), 'template\\payment.html')
  </code></pre>
  <p>and calling it in another application where
  paymenthtml gets copied to   payment_template</p>
  <pre><code>return render_to_response(self.payment_template, self.context, RequestContext(self.request))
  </code></pre>
  <p>But I get error</p>
  <blockquote>
  <p>TemplateDoesNotExist at /test-payment-url/</p>
  <p>E:\testapp\template\payment.html</p>
  </blockquote>
  <p>Why is the error coming?</p>
  <p>Edit : I have made following change in settings.py and it is able to find the template, but i cannot hardcode the path in production, any clue?</p>
  <pre><code>TEMPLATE_DIRS = (&quot;E:/testapp&quot; )
  </code></pre>