So, you are not interested in a fixed solution, but want to program it yourself, I understand correctly? If not: go with a fixed solution. It will be a lot of programming effort, and all you want to do after that, do it in a different structure than you planned, would be a much smaller problem.
, , , " python ", , , - , , (, , ). .
, friend/follow: , , , (, , > 100 000 , ;). , , , Python? , , , , , , ( " " ). , (, ;). , Pinax ( , , ) , . , Pylons, , , , , , , , -, .
tl; dr, URL-, !