upgrade to django3.2
This commit is contained in:
parent
191eed1aa4
commit
4bd1b62e64
7 changed files with 29 additions and 26 deletions
|
|
@ -1,10 +1,10 @@
|
|||
from jsonrpc import jsonrpc_method
|
||||
# from jsonrpc import jsonrpc_method
|
||||
|
||||
TODO = [
|
||||
'',
|
||||
]
|
||||
|
||||
@jsonrpc_method("ping", authenticated=True)
|
||||
# @jsonrpc_method("ping", authenticated=True)
|
||||
def ping(request, username, password):
|
||||
"""Ping - Echo Request
|
||||
|
||||
|
|
@ -13,7 +13,7 @@ def ping(request, username, password):
|
|||
echo_response = "PONG"
|
||||
return echo_response
|
||||
|
||||
@jsonrpc_method("todo")
|
||||
# @jsonrpc_method("todo")
|
||||
def todo(request):
|
||||
"""Todo - List ToDo Items
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue