Changeset 036de45e453fd3047a785de991d753fd98887461
- Timestamp:
- 05/31/10 05:25:12 (3 months ago)
- Author:
- Jim Garrison <jim@…>
- Children:
- 1d0e7e5a2871376b07447a9ab95af08674e8119c
- Parents:
- a6150a6ff96505da2602e2fff0d55e90e6acc784
- git-author:
- Jim Garrison <jim@jimgarrison.org> / 2010-05-31T02:21:15Z-0700
- git-committer:
- Jim Garrison <jim@jimgarrison.org> / 2010-05-31T02:25:12Z-0700
- Message:
-
Partially fixed #37. Page titles are back on all pages that had them before.
adjusted to an unannounced backwards incompatible change in Django
r11862. I suppose it's my fault for expecting an undocumented list
variable not to arbitrarily reverse the order in which things are
stored between revisions...
- Files:
-
Legend:
- Unmodified
- Added
- Removed
-
|
r499d843
|
r036de45
|
|
| 27 | 27 | def render(self, context): |
| 28 | 28 | # Add to title_list in top-level context |
| 29 | | title_list = context.dicts[-1].setdefault('title_list', []) |
| | 29 | title_list = context.dicts[0].setdefault('title_list', []) |
| 30 | 30 | if isinstance(title_list, list): |
| 31 | 31 | title_list.append(self.title(context)) |