Sunday, January 3, 2021

Please help. ImportError with django 3.1

Hi
Please I need your help.
I have just installed django and when I try to run django I get this error message and nothing comes up in my browser.
This is the error message that I get in the command prompt

!*<<<(env) C:\Users\Documents\Learn Python\django\my_django_work\my_django_work\urls.py", line 19, in <module>
    from hello.views import index
ImportError: cannot import name 'index' from 'hello.views'>>>!!

Thank you

--
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/cec9f80a-7d69-4702-8b4c-37817fc6caean%40googlegroups.com.

No comments:

Post a Comment