Monday, May 31, 2021

Re: os module import error

you could just add "import os" in settings.py file

On Mon, May 31, 2021 at 8:32 PM James Ndubuisi <jamescndubuisi@gmail.com> wrote:
Good afternoon.
It seems on creating the Django project using django-admin startproject command , the os module isn't imported by default, causing an error.

--
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 django-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAK4ckVVeaT75CAPQWZeD6q6ewraHmaRH07W_6JQRemX6QV%2BXNA%40mail.gmail.com.

--
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 django-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CALa7AFPHGEsvpgdaUDpefw1nmVp_c56n95quZUFF_Q-ur0rX%2Bg%40mail.gmail.com.

No comments:

Post a Comment