--
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/b1d04ad5-f3aa-454e-ba3f-8983c9201920%40googlegroups.com.
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 django-users+unsubscribe@googlegroups.com.
D problem is either in ur settings.py file u didn't properly set ur template dir correctly (which u can do as follows in ur settings.py In the template setting section, set d value of ur DIR =[os.path.join(BASE_DIR, 'templates'] den create a templates folder either in ur app dir or project dir, in the templates folder 📁 create another folder 📁 with the name of your app, then inside that folder create ur html file) and make sure in your view u reference the html file as eg return render(request, 'app_name/index.html', {'value_to_display_in_html_file': value_to_display_in_html_file}), that way
On Aug 19, 2019 11:47, "Naty Mina" <naty...@gmail.com> wrote:
--,hi guysfinally i could run my project but when i'm trying to open the home page that built i get error template does not existand 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 thatpleasei attached files so you can seeTHANK 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...@googlegroups.com.