Re: The Django app does not recognize a file that is in the folder for me

2021-10-22 Thread ตี๋ ยกซด
จัดการมันทันทีเลย ในวันที่ ศ. 22 ต.ค. 2021 20:32 น. Steven Mapes เขียนว่า: > It'll most likely be because you are executing a file with a relative path > and the Django is probably running in another folder so your best bet is to > import BASE_DIR from settings.py then append the path to the app

Re: The Django app does not recognize a file that is in the folder for me

2021-10-22 Thread Steven Mapes
It'll most likely be because you are executing a file with a relative path and the Django is probably running in another folder so your best bet is to import BASE_DIR from settings.py then append the path to the app from your project root so /app.py On Thursday, 21 October 2021 at 17:26:36 UTC+