Sunday, May 27, 2018

Re: help me out

Good day,

Please be more careful when asking a question and provide more details. For example include in your email all the python traceback info.

From the error you described: "NameError: name 'template' is not defined" it seems that you are referring to a "template" variable in your code that is never set to a value (it is not defined).

You can also tell us more about which tutorial you are trying to do so we can refer to the code - or include your code to the email.

AA

On Sun, May 27, 2018 at 10:33 AM, Umar Kambala <umarkambala@gmail.com> wrote:

Good day
Plz I have a problem, on mysite I have the following mysite/personal/templates/personal but wen I runserver it gives me "NameError: name 'template' is not define.. Please can u help me locate the problem? Thank u

On May 24, 2018 4:56 PM, "Melvyn Sopacua" <m.r.sopacua@gmail.com> wrote:
On donderdag 24 mei 2018 17:28:53 CEST Umar Kambala wrote:
> It is located in mysite/polls/template/polls/

It should be in mysite/polls/templates/polls/

Note: templates with an s, not template.

--
Melvyn Sopacua

--
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.
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/61115682.T1ecY6nzIZ%40fritzbook.
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+unsubscribe@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/CAPkbFbYPHKRZ8QXtfLnXV%3D29AcTpeOOxucqGSfd5VAMa3fmfvA%40mail.gmail.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+unsubscribe@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/CAD5ymB5FjqZ95gwn6Gv1%3DiKg4AaqF1bSAxM7Wh2Sd7Y9eqJj6w%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment