Ticket #16507: out.patch
File out.patch, 1.0 KB (added by , 13 years ago) |
---|
-
django/contrib/messages/tests/base.py
old new 53 53 settings.TEMPLATE_CONTEXT_PROCESSORS 54 54 self._installed_apps = settings.INSTALLED_APPS 55 55 self._message_storage = settings.MESSAGE_STORAGE 56 self._propagate = settings.DEBUG_PROPAGATE_EXCEPTIONS57 settings.DEBUG_PROPAGATE_EXCEPTIONS = True58 56 settings.MESSAGE_STORAGE = '%s.%s' % (self.storage_class.__module__, 59 57 self.storage_class.__name__) 60 58 self.old_TEMPLATE_DIRS = settings.TEMPLATE_DIRS … … 70 68 settings.INSTALLED_APPS = self._installed_apps 71 69 settings.MESSAGE_STORAGE = self._message_storage 72 70 settings.TEMPLATE_DIRS = self.old_TEMPLATE_DIRS 73 settings.DEBUG_PROPAGATE_EXCEPTIONS = self._propagate74 71 75 72 def restore_setting(self, setting): 76 73 if setting in self._remembered_settings: