Mercurial > libervia-backend
comparison sat/core/constants.py @ 2760:3480d4fdf83a
plugins XEP-0060, XEP-0313: implemented Order-By protoXEP:
new "order_by" key can be used in extra data, value can be, for now, "creation" or "modification".
author | Goffi <goffi@goffi.org> |
---|---|
date | Sun, 06 Jan 2019 17:36:51 +0100 |
parents | 1fa615faec8b |
children | 003b8b4b56a7 |
comparison
equal
deleted
inserted
replaced
2759:607cfc79e40f | 2760:3480d4fdf83a |
---|---|
394 | 394 |
395 ## Common data keys ## | 395 ## Common data keys ## |
396 KEY_THUMBNAILS = u"thumbnails" | 396 KEY_THUMBNAILS = u"thumbnails" |
397 KEY_PROGRESS_ID = u"progress_id" | 397 KEY_PROGRESS_ID = u"progress_id" |
398 | 398 |
399 ## Common extra keys/values ## | |
400 KEY_ORDER_BY = u"order_by" | |
401 | |
402 ORDER_BY_CREATION = u'creation' | |
403 ORDER_BY_MODIFICATION = u'modification' | |
404 | |
399 # internationalisation | 405 # internationalisation |
400 DEFAULT_LOCALE = u"en_GB" | 406 DEFAULT_LOCALE = u"en_GB" |
401 | 407 |
402 ## Misc ## | 408 ## Misc ## |
403 SAVEFILE_DATABASE = APP_NAME_FILE + ".db" | 409 SAVEFILE_DATABASE = APP_NAME_FILE + ".db" |