Skip to content

Start using GeneratedField for Documents #1650

@pauloxnet

Description

@pauloxnet

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

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions