]> git.p6c8.net - pcdenotes.git/commit
"publication_date" is now an annotated field
authorPatrick Canterino <patrick@patrick-canterino.de>
Wed, 12 Apr 2023 18:39:55 +0000 (20:39 +0200)
committerPatrick Canterino <patrick@patrick-canterino.de>
Wed, 12 Apr 2023 18:40:14 +0000 (20:40 +0200)
commit818b32455bad7a84a693e342be35e2cb22de04ce
treeaf51662ceccba7d2035ec3943a8cf70b4e8d2ee7
parent9de0dae172be3d7bc2526d39637d95c23a685aa1
"publication_date" is now an annotated field

"publication_date" is "published_at" if it is not null, else "created_at"

It allows us to order the notes by this field
notes/models.py

patrick-canterino.de