Opened 10 years ago

Last modified 10 years ago

#23590 closed Bug

Tutorial section 2 error — at Version 1

Reported by: Iain Houston Owned by: nobody
Component: Template system Version: 1.7
Severity: Normal Keywords: Tutorial Template
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description (last modified by Iain Houston)

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

Change History (1)

comment:1 by Iain Houston, 10 years ago

Description: modified (diff)
Note: See TracTickets for help on using tickets.
Back to Top