Tryton - Issues

 

Issue9472

Title Add defaults option to route
Priority feature Status resolved
Superseder Nosy List ced, reviewbot, roundup-bot
Type feature request Components trytond
Assigned To ced Keywords review
Reviews 298191002
View: 298191002

Created on 2020-07-09.16:35:53 by ced, last changed by roundup-bot.

Messages
New changeset 14bf960c16b3 by Cédric Krier in branch 'default':
Add defaults option to route
https://hg.tryton.org/tryton-env/rev/14bf960c16b3
New changeset 0ffd5caea367 by Cédric Krier in branch 'default':
Add defaults option to route
https://hg.tryton.org/trytond/rev/0ffd5caea367
review298191002 updated at https://codereview.tryton.org/298191002/#ps307921003
msg59235 (view) Author: [hidden] (ced) (Tryton committer) (Tryton translator) Date: 2020-07-09.16:35:52
The defaults parameter of werkzeug.routing.Rule [1] may be useful when designing an API without having the database name in the path or as parameter.
For example, we could want to set a default database in the configuration.

[1] https://werkzeug.palletsprojects.com/en/1.0.x/routing/#werkzeug.routing.Rule
History
Date User Action Args
2020-07-23 00:06:24roundup-botsetmessages: + msg59440
2020-07-23 00:06:22roundup-botsetstatus: testing -> resolved
nosy: + roundup-bot
messages: + msg59439
2020-07-09 18:11:54reviewbotsetnosy: + reviewbot
messages: + msg59239
2020-07-09 17:51:57cedsetstatus: in-progress -> testing
reviews: 298191002
keyword: + review
2020-07-09 16:35:53cedcreate

Showing 10 items. Show all history (warning: this could be VERY long)