Hi Thiago,
It certainly looks like there's a bug there somewhere, but there's so
much going on in your code (including inheriting from PolymorphicModel,
a third-party base class) that it's hard to say where the bug might be
(and whether it's even a bug in Django at all) without doing some direct
exploration (i.e. using pdb to trace into the filter call and figure out
exactly why a FieldError is being raised for 'slug' when a field of that
name appears to exist). I think if you want a resolution here, you'll
likely need to do that exploration yourself and try to narrow down the
source of the bug so that you can reproduce it with a simplest-case example.
Carl