yes, I did so and it worked

BTW I didn’t change any settings and it still worked.

but is there no way to set django to look for not just in templates folders? 
but the directory I want?

i’d like to know 

thank you








From: Bhoopesh sisoudiya
Sent: ‎Monday‎, ‎August‎ ‎19‎, ‎2019 ‎3‎:‎07‎ ‎PM
To: [email protected]





See in attachment 



On Mon, Aug 19, 2019, 5:33 PM Bhoopesh sisoudiya <[email protected]> wrote:



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
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.

-- 
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.

-- 
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.

-- 
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/CAAk3c1NKUjV7raQNaqWgMgXv7Xf5xd%2BDCV2b475QAtNN%3DbQQMQ%40mail.gmail.com.

-- 
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/5d5a9337.1c69fb81.bd279.0968%40mx.google.com.

Reply via email to