title: Django 1.4: DeprecationWarning with django.template.loader.render_to_string
body: <pre><code>Django version 1.4.3
  
  class FooTestCase(TestCase):
  
      def test_deprecation_warning(self):
  
          from django.template.loader import render_to_string
          tpl = render_to_string('template.html')
  </code></pre>
  
  <p>at runtime this generates a <code>DeprecationWarning</code></p>
  
  <pre><code>C:\Python26\lib\site-packages\django\views\generic\simple.py:8: DeprecationWarning: Function-based generic views have been deprecated; use class-based views instead.
  </code></pre>
  
  <p>why? it's not mentioned in the migration page <a href="https://docs.djangoproject.com/en/1.3/topics/generic-views-migration/" rel="nofollow">https://docs.djangoproject.com/en/1.3/topics/generic-views-migration/</a></p>