Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mapping Django and Algolia fields name #324

Open
fab10m opened this issue May 2, 2022 · 0 comments
Open

Mapping Django and Algolia fields name #324

fab10m opened this issue May 2, 2022 · 0 comments

Comments

@fab10m
Copy link

fab10m commented May 2, 2022

  • 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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant