#23590: Tutorial section 2 error
-----------------------------------+--------------------------------------
Reporter: iainhouston | Owner: nobody
Type: Bug | Status: new
Component: Template system | Version: 1.7
Severity: Normal | Resolution:
Keywords: Tutorial Template | Triage Stage: Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-----------------------------------+--------------------------------------
Changes (by iainhouston):
* needs_better_patch: => 0
* needs_tests: => 0
* needs_docs: => 0
Old description:
> The illustrated Base_site.html template will not with Django 1.7. The
> Site Tile and Site Heading default filters should be text instead. Like
> this:
>
> {% extends "admin/base.html" %}
>
> {% block title %}{{ title }} | Iains Polls site admin) {% endblock %}
>
> {% block branding %}
> <h1 id="site-name"><a href="{% url 'admin:index' %}">Iains Polls site
> administration</a></h1>
> {% endblock %}
>
> Please see http://stackoverflow.com/questions/25727687/django-1-7
> -updating-base-site-html-not-working
>
> {% block nav-global %}{% endblock %}
New description:
The illustrated Base_site.html template will not with Django 1.7. The Site
Tile and Site Heading default filters should be text instead. Like this:
{% extends "admin/base.html" %}
{% block title %}{{ title }} | Iains Polls site admin) {% endblock %}
{% block branding %}
<h1 id="site-name"><a href="{% url 'admin:index' %}">Iains Polls site
administration</a></h1>
{% endblock %}
{% block nav-global %}{% endblock %}
Please see http://stackoverflow.com/questions/25727687/django-1-7
-updating-base-site-html-not-working
--
--
Ticket URL: <https://code.djangoproject.com/ticket/23590#comment:1>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/069.50cad6f8fddb4341d510bf64710ed39a%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.