It does not look like you have created an app yet in your project.

You should create one say web [ manage.py startapp web ]
Then move that views.py and the templates folder into that app folder web/

Then in your urls.py change the
from .views import index
to
from web.views import index.

In your settings you will need to add wed to your INSTALLED_APPS.

Dylan

On Mon, Dec 11, 2017 at 4:25 PM, Rabin BK <[email protected]> wrote:

>
> <https://lh3.googleusercontent.com/-MtmvjB8rZXQ/Wi8hwKk2jaI/AAAAAAAAAqs/DvhdTJsOYMQ1p71DsSjStxlSE_rMVdPvgCLcBGAs/s1600/Selection_001.bmp>
>
>
> <https://lh3.googleusercontent.com/-nj2l6o2YyS0/Wi8hk7r3K4I/AAAAAAAAAqo/v2ZvUrSkoUs-ulcsoA2rFZY_CeKlbRUnwCLcBGAs/s1600/Selection_003.bmp>
> Please help me with this. I have been trying for weeks, but have not found
> a solution. I have highlighted the errors there.
>
> --
> 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 post to this group, send email to [email protected].
> Visit this group at https://groups.google.com/group/django-users.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/django-users/4fde6e60-fac3-46d1-a426-f0e972c41097%40googlegroups.com
> <https://groups.google.com/d/msgid/django-users/4fde6e60-fac3-46d1-a426-f0e972c41097%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAHtg44Aq9aZHPSy0U8JPZjfCqwod9zw4Bb5bx7khdihVNJchAA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to