Update README.rst

This commit is contained in:
Roman Mogylatov 2020-07-06 22:36:38 -04:00 committed by GitHub
parent 78ef481ceb
commit 725f6e896f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -113,9 +113,7 @@ Run the application:
auth_service = application.auth_service() auth_service = application.auth_service()
photos_service = application.photos_service() photos_service = application.photos_service()
user = users_service.get_user_by_id(uid) ...
auth_service.authenticate(user, password)
photos_service.upload_photo(user['uid'], photo)
if __name__ == '__main__': if __name__ == '__main__':
@ -130,7 +128,7 @@ on our GitHub:
How to install? How to install?
--------------- ---------------
``Dependency Injector`` is available on `PyPi`_: ``Dependency Injector`` is available on `PyPi`_::
pip install dependency-injector pip install dependency-injector