toastdriven/django-tastypie — pull request #617 by maraujop (2012-08-13 17:49:42+00:00)
Title: Raise InvalidFilter on unlisted model field

When filtering on a model field unlisted within resource fields, an exception should be raised to warn the user. Otherwise he could think filtering is working while it actually isn't, potentially hitting some nasty silent bugs.

This has been commented on IRC with @issackelly.

Cheers,
Miguel