จัดการมันทันทีเลย

ในวันที่ ศ. 22 ต.ค. 2021 20:32 น. Steven Mapes <[email protected]>
เขียนว่า:

> 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_name>/app.py
>
> On Thursday, 21 October 2021 at 17:26:36 UTC+1 [email protected] wrote:
>
>> [image: image.png]
>> Hi everyone
>> I have an app.py file and the views.py file does not recognize it even
>> though they are in the same folder.
>> In which file should I update that django will also recognize the app.py
>> file
>> Thank you all!!!!
>>
>>
>>
>> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/ed80fb87-5014-49c5-9c2c-78640665ddeen%40googlegroups.com
> <https://groups.google.com/d/msgid/django-users/ed80fb87-5014-49c5-9c2c-78640665ddeen%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAJv9LKMx%2B8vsqyYTS9LEP5i7gFmLMx9pDWzdEDmtwyUrwo1gWQ%40mail.gmail.com.

Reply via email to