                  # For backwards compatibility, interpret naive datetimes in
                  # local time. This won't work during DST change, but we can't
                  # do much about it, so we let the exceptions percolate up the
                  # call stack.
                  warnings.warn(u"DateTimeField received a naive datetime (%s)"
                                u" while time zone support is active." % value,
                                RuntimeWarning)
                  default_timezone = timezone.get_default_timezone()
                  value = timezone.make_aware(value, default_timezone)
              return value
  
 
</s> remove                     if value == smart_unicode(k2):
 </s> add                     if value == smart_text(k2): </s> remove         'invalid': _(u"'%s' value has an invalid format. It must be in "
                     u"YYYY-MM-DD HH:MM[:ss[.uuuuuu]][TZ] format."),
        'invalid_date': _(u"'%s' value has the correct format "
                          u"(YYYY-MM-DD) but it is an invalid date."),
        'invalid_datetime': _(u"'%s' value has the correct format "
                              u"(YYYY-MM-DD HH:MM[:ss[.uuuuuu]][TZ]) "
                              u"but it is an invalid date/time."),
 </s> add         'invalid': _("'%s' value has an invalid format. It must be in "
                     "YYYY-MM-DD HH:MM[:ss[.uuuuuu]][TZ] format."),
        'invalid_date': _("'%s' value has the correct format "
                          "(YYYY-MM-DD) but it is an invalid date."),
        'invalid_datetime': _("'%s' value has the correct format "
                              "(YYYY-MM-DD HH:MM[:ss[.uuuuuu]][TZ]) "
                              "but it is an invalid date/time."), </s> remove                     raise TypeError(u"You tried to pass in the %s method name as a "
                                    u"keyword argument to %s(). Don't do that."
 </s> add                     raise TypeError("You tried to pass in the %s method name as a "
                                    "keyword argument to %s(). Don't do that." </s> remove     #     data = {'id': 1, 'name': u'target-1', 'sources': [1]}
 </s> add     #     data = {'id': 1, 'name': 'target-1', 'sources': [1]} </s> remove                     raise TypeError(u"%s() received an invalid keyword %r" % (
 </s> add                     raise TypeError("%s() received an invalid keyword %r" % (
                warnings.warn("DateTimeField received a naive datetime (%s)"
                              " while time zone support is active." % value,
                  # For backwards compatibility, interpret naive datetimes in
                  # local time. This won't work during DST change, but we can't
                  # do much about it, so we let the exceptions percolate up the
                  # call stack.
                warnings.warn("DateTimeField received a naive datetime (%s)"
                              " while time zone support is active." % value,
                warnings.warn("DateTimeField received a naive datetime (%s)"
                              " while time zone support is active." % value,
                                RuntimeWarning)
                  default_timezone = timezone.get_default_timezone()
                  value = timezone.make_aware(value, default_timezone)
              return value
  
keep keep keep keep replace replace keep keep keep keep keep
 First passing test under p3k \o/ 
rest_framework/fields.py