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

Start using GeneratedField for Documents #1650

Open
pauloxnet opened this issue Oct 7, 2024 · 0 comments
Open

Start using GeneratedField for Documents #1650

pauloxnet opened this issue Oct 7, 2024 · 0 comments

Comments

@pauloxnet
Copy link
Member

The Document models have a JSON field with the data generated by Sphinx.

At the moment we use it only to read some value and populate the SearchVectorField used to perform the full-text search.

We can transform this field into a GeneratedField so that the database updates it automatically without needing to run a command.

In addition to that we can create other GeneratedFields to use them directly in the page rendering.

This issue is blocked by others:

  • finally switch to Python 3.12
  • update to Django 5.x
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