mvpdev/django-eav — Issue #10: Filter attributes by entity?
Author: georgedorn
Created: 2011-11-16 18:33:06+00:00
State: open

I have three different models that I want to use EAV with. I don't want to share any Attributes between them, and in fact want to have three different admin pages for managing each type of Attribute. I notice that the Attribute model doesn't have a foreign key to a ContentType, so the only way to filter attributes is to hardcode references to attribute names, which isn't an option for me as I have no idea what attributes will exist.

Is there another way to handle this, or would the best approach be to fork the project to add this feature? If so, is there any guidance you can give me for what other parts of django-eav I'd need to adapt?