Open
Description
Describe the bug
According to the Docs (https://django-simple-history.readthedocs.io/en/latest/querying_history.html#getting-previous-and-next-historical-record), history.frist()
will return the first version of the object and therefore, prev_record
will be None
. But actually it is the other way around. history.frist()
returns the most recent version and therefore next_record
in None
Or did I misunderstand something?
Expected behavior
The documentation is not clear about it, which leads to errors.
Environment (please complete the following information):
- Django Simple History Version: 3.5.0
- Django Version: 4.2.11
- postgres: 15