hello is ur app name if so
from hello import views
try this
if not be clear what is hello,index

On Mon, Jan 4, 2021 at 4:24 PM Gasar Iyali <[email protected]> wrote:

> 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 [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/cec9f80a-7d69-4702-8b4c-37817fc6caean%40googlegroups.com
> <https://groups.google.com/d/msgid/django-users/cec9f80a-7d69-4702-8b4c-37817fc6caean%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/CA%2B3XbN7-MLGSiAey1%3DJo_qRRX3B-3SGsjbnkixMobTk%2BhSf-mQ%40mail.gmail.com.

Reply via email to