I've got scheduler working and DB is getting data. Now the funny part
starts for newbie like me (scheduler were somewhat easy stuff but basics
like html&css not and add there also this framework to that soup).. How to
show that data?
Am I supposed to utilize controllers/default.py:
def index():
to return some dictionary?
DB is something like:
forename surname parent-id
1. John Smith
2. Lisa Jefferson
3. Ricky Smith 1
So John has boy Ricky.
I would like to layout web-page as:
John Smith
Ricky Smith
Lisa Jefferson
So shall I do DB call on controller to return everything using dictionary
and do parsing (put Ricky as indented/under related to John) on view? Or
should I somehow forget controller and just do everything on view? What is
the "right way"?
I guess I have to use <div class> and/or <div id> like spell among css3 to
format it using good practices and current de facto standards.
--