Hey
Please put index.html file inside template folder and set "template"
folder DIR in setting.py file.
On Mon, Aug 19, 2019, 4:32 PM <[email protected]> wrote:
> no it did not work
>
> Sent from Windows Mail
>
> *From:* RONAK JAIN <[email protected]>
> *Sent:* Monday, August 19, 2019 1:59 PM
> *To:* [email protected]
>
> Hey
>
> can you remove learning_logs in views.py?
>
> please simply write inside view.py :
>
>
> *return render(request, 'index.html')*
>
> Maybe it will work for you.
>
> Thanks
>
>
>
>
> On Mon, Aug 19, 2019 at 4:17 PM Naty Mina <[email protected]> wrote:
>
>> *,hi guys*
>> finally i could run my project but when i'm trying to open the home page
>> that built i get error template does not exist
>> and when i look at the details i see that django.engine looked for the
>> template when it''s not in.
>> the html file is in the same directory as the views and that's when i
>> want django to look for it.
>> i need your help to fix that
>> please
>> i attached files so you can see
>> *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/b1d04ad5-f3aa-454e-ba3f-8983c9201920%40googlegroups.com
>> <https://groups.google.com/d/msgid/django-users/b1d04ad5-f3aa-454e-ba3f-8983c9201920%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%2BAqMUeZQydrHn7AWES5G-B1V5LsteoTsthkg5WuB71osXfOjw%40mail.gmail.com
> <https://groups.google.com/d/msgid/django-users/CA%2BAqMUeZQydrHn7AWES5G-B1V5LsteoTsthkg5WuB71osXfOjw%40mail.gmail.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/5d5a81c4.1c69fb81.83b62.f959%40mx.google.com
> <https://groups.google.com/d/msgid/django-users/5d5a81c4.1c69fb81.83b62.f959%40mx.google.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/CAAk3c1MBzcRCv7t5hwCrDvcon4fivKM1BPrrFgWi1gsBpYeCLA%40mail.gmail.com.