Skip to content

Commit dffcc2d

Browse files
committed
update readme
1 parent 314a25f commit dffcc2d

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -159,6 +159,13 @@ app.include_router(crud_route_2)
159159

160160
### Foreign Tree With Relationship
161161
```python
162+
from fastapi import FastAPI
163+
from fastapi_quickcrud import crud_router_builder
164+
from sqlalchemy import *
165+
from sqlalchemy.orm import *
166+
from fastapi_quickcrud.crud_router import generic_sql_crud_router_builder
167+
168+
Base = declarative_base()
162169

163170
class Account(Base):
164171
__tablename__ = "account"

0 commit comments

Comments
 (0)