toastdriven/django-tastypie — pull request #454 by pelme (2012-04-20 07:01:10+00:00)
Title: Fix crash when a non-existent field is entered on a ForeignKey resource

Currently it is possible to pass a non existent field in the data in a foreign key resource, which does not exist.

tastypie should ignore that data, but currently that field is tried to be looked up, which will fail with an AttributeError since it does not exist. See the test case for an example.