Commits

Andrii Kostenko committed 3bc2154

template source loaders

  • Participants
  • Parent commits 96a3a85

Comments (0)

Files changed (1)

File registration/tests/views.py

 from django.test import TestCase
 from django.utils import translation
 from django.utils.translation import gettext
+import django.template.loader
 
 from registration import forms
 from registration.models import RegistrationProfile
         if self.old_activation is None:
             settings.ACCOUNT_ACTIVATION_DAYS = 7 # pragma: no cover
         translation.activate('en')
+        django.template.loader.template_source_loaders = None
 
     def tearDown(self):
         """
 
         for k,v in self._settings_attributes.iteritems():
             setattr(settings, k, getattr(self,'old_%s' % k))
+        django.template.loader.template_source_loaders = None
 
 
     def test_registration_view_initial(self):