Opened 10 years ago

Last modified 10 years ago

#23590 closed Bug

Tutorial section 2 error — at Initial Version

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

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 %}

Change History (0)

Note: See TracTickets for help on using tickets.
Back to Top