armstrong/armstrong — Issue #37: arm_wells and tastypie don't play well together
Author: niran
Created: 2011-11-03 03:25:34+00:00
State: open
Labels: bugs, core.arm_wells

Tastypie calls filter on querysets. arm_wells's `GenericForeignKeyQuerySet` doesn't have a filter method. We have options:

1. Find a way to get tastypie to avoid calling filter.
2. If tastypie passes no arguments to filter when the request doesn't require filtering, add a filter method to `GenericForeignKeyQuerySet` that returns `self` if the arguments are empty and raises an exception otherwise.
3. If tastypie is passing arguments to filter, things get more complicated. Perhaps an argument to the queryset constructor that makes filter return self regardless to avoid errors?