mirror of
https://github.com/aykhans/portfolio-blog.git
synced 2025-04-18 19:39:43 +00:00
Merge pull request #5 from Aykhan-s/bugfix/Create-User-App-ImportError
Fixed: ModuleNotFoundError: No module named 'app'
This commit is contained in:
commit
c776646c67
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user