Files
fastapi-users/docs/installation.md
prostomarkeloff b5b0bbbb01 Tortoise ORM support (#59)
* add tortoise to dependencies

* add tortoise as optional dependency in pyproject.toml

* add tortoise support (tests needed)

* Add tortoise support (also defined orm_mode in pydantic model

* tests for tortoise support

* format by black

* docs for tortoise

* delete type annotations

* delete underscore

* do it in 1 line

* add 1 line before yield

* fix in docs

* fix bug and add annotation for test

* Tweak documentation and fix Tortoise error about id update

* Improve Tortoise coverage by using get instead of filter

* Fix Pipfile.lock
2019-12-03 21:24:27 +01:00

445 B

Installation

You can add FastAPI Users to your FastAPI project in a few easy steps. First of all, install the dependency:

With SQLAlchemy support

pip install fastapi-users[sqlalchemy]

With MongoDB support

pip install fastapi-users[mongodb]

With Tortoise ORM support

pip install fastapi-users[tortoise-orm]

That's it! Now, let's have a look at our User model.