forked from mirror/MrDoc
64d592942b
DEMO: ``` import requests api = 'http://127.0.0.1:8000/api/modify_doc/?token=XXXXXXXXX' title = u"对文档2作出修改" doc = u'# 这是文档2修改后的内容' data = { "pid":1, #文集ID "did":3, #文档ID "title":title, "doc":doc } req = requests.post(api, data=data) print(req.text) ``` |
||
---|---|---|
.. | ||
migrations | ||
__init__.py | ||
admin.py | ||
apps.py | ||
auth_app.py | ||
models.py | ||
permissions_app.py | ||
serializers_app.py | ||
tests.py | ||
urls_app.py | ||
urls.py | ||
views_app.py | ||
views.py |