|
Last change
on this file since 2b31097 was
695d358,
checked in by Alex Dehnert <adehnert@…>, 11 years ago
|
|
Django 1.6: use new {% url %} syntax
Starting in Django 1.5, the argument to {% url %} is treated as a variable,
rather than a literal. To get a literal, we need to enclose the argument in
quotes. For Django 1.4 support, we also want to do {% load url from future %}
-- probably in more places than just base.html, but we'll see.
|
-
Property mode set to
100644
|
|
File size:
327 bytes
|
| Line | |
|---|
| 1 | {% extends "base.html" %} |
|---|
| 2 | {% load url from future %} |
|---|
| 3 | |
|---|
| 4 | {% block title %}Logged out of Remit{% endblock %} |
|---|
| 5 | {% block content %} |
|---|
| 6 | |
|---|
| 7 | <h2>Logged out of Remit</h2> |
|---|
| 8 | |
|---|
| 9 | <p>You have been logged out of Remit. You can return to the <a href='{% url "homepage" %}'>homepage</a> or <a href='{% url "login" %}'>login again</a>.</p> |
|---|
| 10 | {% endblock %} |
|---|
Note: See
TracBrowser
for help on using the repository browser.