Update app.py
Browse files
app.py
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
from fastapi import FastAPI, Depends, HTTPException, Request, Form, status
|
3 |
from fastapi.responses import RedirectResponse, HTMLResponse
|
4 |
from fastapi.templating import Jinja2Templates
|
5 |
-
from fastapi.security import OAuth2PasswordBearer
|
6 |
from pydantic import BaseModel
|
7 |
from sqlalchemy.orm import Session
|
8 |
from database import get_db, get_user_by_email
|
|
|
2 |
from fastapi import FastAPI, Depends, HTTPException, Request, Form, status
|
3 |
from fastapi.responses import RedirectResponse, HTMLResponse
|
4 |
from fastapi.templating import Jinja2Templates
|
5 |
+
from fastapi.security import OAuth2PasswordBearer, OAuth2PasswordRequestForm
|
6 |
from pydantic import BaseModel
|
7 |
from sqlalchemy.orm import Session
|
8 |
from database import get_db, get_user_by_email
|