r/FastAPI • • Aug 21 '21

Question Shell for Fast api ?

There is shell in django , My teams wants the same for Fast api. I tried with IPython but the problem is I can't use Tortoise orm Queries as it says database has no connection and other stuff. My question : Is there any way to make or install a shell for fast api project.

11 Upvotes

12 comments sorted by

View all comments

1

u/[deleted] Aug 22 '21

There's not a "shell" with fastapi because the philosophy of the framweork is different than Django's monolithic philosophy. Django provides its orm. Fastapi wants to be "agnostic". It is up to you to chose the orm and how to interact with it.