-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
- Run
python manager.py testinit
- Access
http://localhost:5000/taskhall/list
to get the list of tasks. Here is some parameters:- page: The page number, starting from 1. Default is 1.
- keyword: One of 'time', 'vote', or 'view'. Default is 'time'
- per_page: Tasks per page. Default is 2 (
FLASKY_TASKS_PER_PAGE
in config.py)
For example:
http://localhost:5000/taskhall/list?page=2
will get the 2nd page sorted by time(descent) and 2 tasks per page.http://localhost:5000/taskhall/list?page=1&keyword='vote'&per_page=100
will get the first page sorted by vote(descent) and 100 tasks per page.
Metadata
Metadata
Assignees
Labels
No labels