Added some inline comments to the infamous line #1141

Merged
merged 2 commits into from Jan 10, 2012
Jump to file or symbol
Failed to load files and symbols.
+2 −0
Split
View
@@ -195,6 +195,8 @@ def set_items(self, request):
if len(children):
# TODO: WTF!?!
# The last one is not the last... wait, what?
+ # children should NOT be a queryset. If it is, check that
+ # your django-mptt version is 0.5.1
children[-1].last = False
page.menu_level = 0
root_pages.append(page)