NameError: name 'os' is not defined in python Django.

preview_player
Показать описание
Error in python Django.If you add template or other os based function it will show error of os.So you can solve using import os.
NameError: name 'os' is not defined
Django os error.
how to solve os import error.
Рекомендации по теме
Комментарии
Автор

thanks so much, , you help with my project

mauriciochacana
Автор

hello I am getting this errour any help thanks in advance can't open file 'manage.py': [Errno 2] No such file or directory

techparistech
Автор

what to do for import context ? nameerror!

saklainjawed