mirror of
https://github.com/aykhans/portfolio-blog.git
synced 2025-07-17 15:54:00 +00:00
Fixed: ModuleNotFoundError: No module named 'app'
This commit is contained in:
@@ -7,6 +7,9 @@ from pydantic import (
|
|||||||
ConfigDict
|
ConfigDict
|
||||||
)
|
)
|
||||||
|
|
||||||
|
from sys import path
|
||||||
|
path.append('.')
|
||||||
|
|
||||||
from app import crud
|
from app import crud
|
||||||
from app.schemas import UserCreate
|
from app.schemas import UserCreate
|
||||||
from app.views.depends import get_db
|
from app.views.depends import get_db
|
||||||
|
Reference in New Issue
Block a user