fastapi_users import deleted
This commit is contained in:
parent
b37443b862
commit
e5da503ee5
@ -149,6 +149,7 @@ def change_book_status(data: schema.Book):
|
||||
except:
|
||||
return {"Success": False}
|
||||
|
||||
|
||||
# reginstration
|
||||
# {"id":1, "email":"poopka@mail.ru", "password":"good", "name":"Vasya", "surname":"Poopkin"}
|
||||
@app.post("/api/signup")
|
||||
|
@ -1,5 +1,4 @@
|
||||
from sqlalchemy import Column, Integer, String, Boolean
|
||||
from fastapi_users.db import SQLAlchemyBaseUserTableUUID, SQLAlchemyUserDatabase
|
||||
from fastapi import Depends
|
||||
from .db import Base, engine
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user