Some lookups/transforms don't have lookup_name
|Reported by:||jorgecarleitao||Owned by:||nobody|
|Has patch:||no||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
because RegisterLookupMixin.register_lookup requires the lookup to have a lookup_name, any transformation or lookup without it raises an AttributeError when registered.
in contrib.postgres.fields.array, some Transforms don't have lookup_name defined.
One will have to check out if we are missing any other.
Change History (4)
comment:1 Changed 10 months ago by timo
- Component changed from Database layer (models, ORM) to contrib.postgres
- Needs documentation unset
- Needs tests unset
- Patch needs improvement unset
- Triage Stage changed from Unreviewed to Accepted