mirror of
https://github.com/aykhans/portfolio-blog.git
synced 2026-10-21 09:48:29 +00:00
Fixed: ModuleNotFoundError: No module named 'app'
This commit is contained in:
1 parent
f5da2cb51d
commit
7f69b8ec92
1 file changed
+3
@@ -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