Monday, January 24, 2022

Re: django module not found

If you're using virtual environment then try creating a new virtual environment and install django again in your virtual environment.

On Mon, Jan 24, 2022, 19:28 'Delvin Alexander' via Django users <django-users@googlegroups.com> wrote:
Hello,

I am new and just started to learn Django. I am attempting to create my first application and ofcourse progress to a website but i am having difficulty at the moment. here is whats going on:  

["Import "django.shortcut" could not be resolvedPylancereportMissingImports
Exception has occurred: ModuleNotFoundError
No module named 'django.shortcut'
File "C:\Users\delvi\django_project\blog\views.py", line 1, in <module> from django.shortcut import render]

I have tried looking online for an answer and still have yet to come to an answer that has resolved my issue. I even changed my interpreter, but this 1 problem still remains. May you someone please help me?



--
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/f931616a-652f-4ce0-9f8d-32435e9d6e04n%40googlegroups.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/CAF7qQgCwKKpXwwfW2FieP1DLFwX8Ej2pYvqByKP9GWw3wVqnuA%40mail.gmail.com.

No comments:

Post a Comment