View Single Post
Old 06-12-2013, 10:46 PM   #5
JeffreyZhao
Junior Member
JeffreyZhao began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Jun 2013
Device: Kindle Paperwhite
Quote:
Originally Posted by anoved View Post
Yup. Here's what your sample's return statement might look like with two sections:

Code:
return [('Section One', article_list_one), ('Section Two', article_list_two)]
Thanks, that's just what I need. It looks like the section name is ignored when there's only one section, is it?
JeffreyZhao is offline   Reply With Quote