Merge remote-tracking branch 'origin/versions/micro' into merges/micro_to_minor

This commit is contained in:
Roberto Rosario
2019-11-28 02:24:18 -04:00
16 changed files with 137 additions and 73 deletions

View File

@@ -57,7 +57,7 @@ Get a list of document types::
Upload a new document::
with open('test_document.pdf', mode='rb') as
with open('test_document.pdf', mode='rb') as file_object:
requests.post('http://127.0.0.1:8000/api/documents/', auth=('username', 'password'), files={'file': file_object}, data={'document_type': 1}).json()
{u'description': u'',