*Thank U*
בתאריך יום שלישי, 20 באוגוסט 2019 בשעה 11:07:46 UTC+3, מאת Tosin Ayoola:
>
> 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" <[email protected] <javascript:>>
> 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] <javascript:>.
>> 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/c35d975d-9ffa-401d-83ec-4a13ab2ef89d%40googlegroups.com.