algoliasearch-django icon indicating copy to clipboard operation
algoliasearch-django copied to clipboard

Mapping Django and Algolia fields name

Open fab10m opened this issue 3 years ago • 0 comments

  • Django version: 3.2
  • Algolia Django integration version: 2.0.0
  • Language Version: 3.9.4

Description

I found from the source code (models.py) that the property AlgoliaIndex.fields can receive also list or tuple with the elements 'attr' (Django field/method name) and 'field' (Algolia field name). But I didn't find any trace in the documentation. Can I consider this kind of use stable? Is it safe to use the library in this way?

Regards, Fabio

fab10m avatar May 02 '22 09:05 fab10m