I change the template settings to this

TEMPLATES = [ { 'BACKEND':
'django.template.backends.django.DjangoTemplates', 'DIRS':
[os.path.join(BASE_DIR, 'templates'), ], 'APP_DIRS': True,

...More code here...
On May 23, 2018 8:54 PM, "'Anthony Flury' via Django users" <
django-users@googlegroups.com> wrote:

> Does the file actually exist - it should be in :
>
>    *my_site/polls/templates/polls/*
>
> https://docs.djangoproject.com/en/2.0/intro/tutorial03/#writ
> e-views-that-actually-do-something
>
>     Assuming you haven't changed the TEMPLATES settings in some way.
>
> --
> --
> Anthony Flury
> email : *anthony.fl...@btinternet.com*
> Twitter : *@TonyFlury <https://twitter.com/TonyFlury/>*
>
> On 23/05/18 11:16, Umar Kambala wrote:
>
>>
>> Yes its spelled correctly on the command window its telling me
>> TemplateDoesNotExit: polls/detail.html
>>
>> On May 23, 2018 9:58 AM, "tango ward" <tangowar...@gmail.com <mailto:
>> tangowar...@gmail.com>> wrote:
>>
>>     Check if your template name is correct in your views.py
>>
>>     On Wed, May 23, 2018 at 5:56 PM, Umar Kambala
>>     <umarkamb...@gmail.com <mailto:umarkamb...@gmail.com>> wrote:
>>
>>         Plz need help
>>         I found this problem TemplateDoesNotExit at /polls/1/ where
>>         might have I gone wrong?
>>
>>         --         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+unsubscr...@googlegroups.com
>>         <mailto:django-users+unsubscr...@googlegroups.com>.
>>         To post to this group, send email to
>>         django-users@googlegroups.com
>>         <mailto:django-users@googlegroups.com>.
>>         Visit this group at
>>         https://groups.google.com/group/django-users
>>         <https://groups.google.com/group/django-users>.
>>         To view this discussion on the web visit
>>         https://groups.google.com/d/msgid/django-users/CAPkbFbZwVPyB
>> pVsA65UTjeJNgKHnQqpsTVmOmeO5GFeusnVfww%40mail.gmail.com
>>         <https://groups.google.com/d/msgid/django-users/CAPkbFbZwVPy
>> BpVsA65UTjeJNgKHnQqpsTVmOmeO5GFeusnVfww%40mail.gmail.com?
>> utm_medium=email&utm_source=footer>.
>>         For more options, visit https://groups.google.com/d/optout
>>         <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 django-users+unsubscr...@googlegroups.com
>>     <mailto:django-users+unsubscr...@googlegroups.com>.
>>     To post to this group, send email to django-users@googlegroups.com
>>     <mailto:django-users@googlegroups.com>.
>>     Visit this group at https://groups.google.com/group/django-users
>>     <https://groups.google.com/group/django-users>.
>>     To view this discussion on the web visit
>>     https://groups.google.com/d/msgid/django-users/CAA6wQLLkxWQd
>> 3wDOMPNDEAPPNeTfVJhU7L1GP4au75yrU6Bcuw%40mail.gmail.com
>>     <https://groups.google.com/d/msgid/django-users/CAA6wQLLkxWQ
>> d3wDOMPNDEAPPNeTfVJhU7L1GP4au75yrU6Bcuw%40mail.gmail.com?
>> utm_medium=email&utm_source=footer>.
>>     For more options, visit https://groups.google.com/d/optout
>>     <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 django-users+unsubscr...@googlegroups.com <mailto:
>> django-users+unsubscr...@googlegroups.com>.
>> To post to this group, send email to django-users@googlegroups.com
>> <mailto:django-users@googlegroups.com>.
>> Visit this group at https://groups.google.com/group/django-users.
>> To view this discussion on the web visit https://groups.google.com/d/ms
>> gid/django-users/CAPkbFbZmHibrrij317hQeczBiWqFB_
>> QexEZFxKcko2qpsbzEww%40mail.gmail.com <https://groups.google.com/d/m
>> sgid/django-users/CAPkbFbZmHibrrij317hQeczBiWqFB_
>> QexEZFxKcko2qpsbzEww%40mail.gmail.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 django-users+unsubscr...@googlegroups.com.
> To post to this group, send email to django-users@googlegroups.com.
> Visit this group at https://groups.google.com/group/django-users.
> To view this discussion on the web visit https://groups.google.com/d/ms
> gid/django-users/080cbd1f-c321-c4b1-718d-67d350492c03%40btinternet.com.
> 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 django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
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/CAPkbFbZqDXnhxg7VgYGOuwEx43%2Bk0GMcrc%3D7a7ffv1Yviggomg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
  • [no subject] Umar Kambala
    • Re: tango ward
      • Re: Umar Kambala
        • Re: James Farris
          • Re: Umar Kambala
        • Re: 'Anthony Flury' via Django users
          • Re: Umar Kambala
            • Re: Umar Kambala

Reply via email to