Open Spirit412 opened 1 year ago
🤔
Thanks for suggestion. We will take a look.
The same
Also facing the same issue at "cannot import name 'auth_cookie' from 'basic_app.db.models.users' (D:\NewPC\Playground\python\FastAPI\basic_app\basic_app\db\models\users.py)"
Set up the project without using -
[ ] Add authentication via cookie support
After launching, I get an errorFile "/app/src/test_template_api/web/api/users/views.py", line 7, in <module> from test_template_api.db.models.users import auth_cookie # type: ignore ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ImportError: cannot import name 'auth_cookie' from 'test_template_api.db.models.users' (/app/src/test_template_api/db/models/users.py)
I deleted line 7from test_template_api.db.models.users import auth_cookie # type: ignore
After that, the application started without errors