Sunday, May 29, 2016

Re: TemplateSyntax Error - Invalid block tag '</span><span'.


On May 29, 2016 4:23 PM, "Joseph Mitchell" <joemitchellsc@gmail.com> wrote:
>
> Hi,   newbie here.  While going through https://docs.djangoproject.com/en/1.9/intro/tutorial03/ and I get the following:
>
>> TemplateSyntaxError at /polls/
>> Invalid block tag on line 23: '</span><span'. Did you forget to register or load this tag?
>
>
> My templates/polls/index.html file has:
>

Do you have a parent template that contains <span> tags? It's likely that you forgot an {% endblock%} or {% endif %} somewhere. It may also be in your current template of you didn't post the entire file.

-James

--
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/CA%2Be%2BciW_9yreQdEONiR2q_Te7g7B408JLXYAuGOUREei-6pL%2BQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment