diff options
author | Quentin Dufour <quentin@deuxfleurs.fr> | 2023-02-21 16:27:46 +0100 |
---|---|---|
committer | Quentin Dufour <quentin@deuxfleurs.fr> | 2023-02-21 16:27:46 +0100 |
commit | 3511c8d47d3f6fbe89c391b69b0cb5a0b437c813 (patch) | |
tree | 127e1fb4e3d84b53d521a56a6754cbdf93f45005 | |
parent | b92e518eaa0e3baeef460667dee0929d5b19cc3d (diff) | |
download | guide.deuxfleurs.fr-3511c8d47d3f6fbe89c391b69b0cb5a0b437c813.tar.gz guide.deuxfleurs.fr-3511c8d47d3f6fbe89c391b69b0cb5a0b437c813.zip |
add select field
-rw-r--r-- | static/admin/config.yml | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/static/admin/config.yml b/static/admin/config.yml index 8968119..67599eb 100644 --- a/static/admin/config.yml +++ b/static/admin/config.yml @@ -27,6 +27,10 @@ collections: - label: Weight name: weight widget: number + - label: Sort by + name: sort_by + widget: select + options: [ "date", "update_date", "title", "title_bytes", "weight", "none" ] - label: Body name: body widget: markdown |