Skip to content

Mapping Django and Algolia fields name #324

@fab10m

Description

@fab10m
  • 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions