-
Notifications
You must be signed in to change notification settings - Fork 767
Open
Description
I've got this error which is caused by using a GeneratedField. Before migrating to GeneratedField, we used to use a migration script to create the generated field and django-filter has no issue with it.
AssertionError: MyFilter resolved field 'my_field' with 'exact' lookup to an unrecognized field type GeneratedField. Try adding an override to 'Meta.filter_overrides'. See: https://django-filter.readthedocs.io/en/main/ref/filterset.html#customise-filter-generation-with-filter-overrides
I think it should be possible to know what filter to use since GeneratedField has an output_field.
firdaus-aziz, violuke, alemangui and 991jo
Metadata
Metadata
Assignees
Labels
No labels