Changeset 036de45e453fd3047a785de991d753fd98887461

Show
Ignore:
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:
1 modified

Legend:

Unmodified
Added
Removed
  • ductus/wiki/templatetags/title.py

    r499d843 r036de45  
    2727    def render(self, context): 
    2828        # 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', []) 
    3030        if isinstance(title_list, list): 
    3131            title_list.append(self.title(context))