Do you have a function in the hello/views.py? That's the first place to 
start as the error suggests you do not.
 

On Monday, 4 January 2021 at 14:39:32 UTC joshr...@gmail.com wrote:

> 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 <gasar...@gmail.com> 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 django-users...@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
>>  
>> <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 django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/60b7ffc6-88d0-4057-b61c-6885ebdefb23n%40googlegroups.com.

Reply via email to