Ticket #8523: 8523.prepend_test_templates_to_settings_templates2.diff

File 8523.prepend_test_templates_to_settings_templates2.diff, 467 bytes (added by cammacrae, 16 years ago)

This patch prepends the test template directory to settings.template_dirs ONLY

  • django/contrib/auth/tests/views.py

     
    101101                os.path.dirname(__file__),
    102102                'templates'
    103103            )
    104         ,)
     104        ,) + tuple(settings.TEMPLATE_DIRS)
    105105
    106106    def tearDown(self):
    107107        settings.TEMPLATE_DIRS = self.old_TEMPLATE_DIRS
Back to Top