From e5da503ee5e6748b519997b05325fcb89a025e21 Mon Sep 17 00:00:00 2001 From: DmitryGantimurov Date: Thu, 27 Jul 2023 20:27:41 +0300 Subject: [PATCH] fastapi_users import deleted --- back/main.py | 1 + back/models.py | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/back/main.py b/back/main.py index 3c559a6..35cf413 100644 --- a/back/main.py +++ b/back/main.py @@ -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") diff --git a/back/models.py b/back/models.py index 357e77a..476875a 100644 --- a/back/models.py +++ b/back/models.py @@ -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