You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello ouhouhsami. Sorry for responding so late, we have created Django EAV for our own use and never though sombody else would ask about it :-)
We won't patch eav to add a new feature for now since we don't have time to garanty it's stable enought. But this is an open source project and you are welcome to make a pull request with a patch of an implementation of this suggestion with unit tests to back up it.
Hello,
I'd like to be able to filter attributes, not for a model, but for each instances of a model, regarding a value of one of its field.
an example:
class EavConfigClass(EavConfig):
@classmethod
def get_attributes(cls, id_of_my_instance):
type = filtering_from_my_instance_value
return Attribute.objects.filter(type=type)
The text was updated successfully, but these errors were encountered: