      def __init__(self):
          self._original_settings = {}
  
      def set(self, **kwargs):
          for k,v in kwargs.iteritems():
              self._original_settings.setdefault(k, getattr(settings, k,
                                                            NO_SETTING))
              setattr(settings, k, v)
          if 'INSTALLED_APPS' in kwargs:
              self.syncdb()
 
</s> remove         for k,v in self._original_settings.iteritems():
 </s> add         for k, v in self._original_settings.iteritems(): </s> remove     title = models.CharField(max_length=100, blank=True, null=True)
 </s> add     title = models.CharField(max_length=100, blank=True, null=False)
        for k, v in kwargs.iteritems():
      def __init__(self):
          self._original_settings = {}
  
      def set(self, **kwargs):
        for k, v in kwargs.iteritems():
              self._original_settings.setdefault(k, getattr(settings, k,
                                                            NO_SETTING))
              setattr(settings, k, v)
          if 'INSTALLED_APPS' in kwargs:
              self.syncdb()
keep keep keep keep replace keep keep keep keep keep
 urls, patterns, include imports move to compat to support incoming 1.3 thru 1.6 import compatability 
rest_framework/tests/testcases.py