A full featured blog in RiotJS
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

18 lines
656 B

from json import dumps
def comment(author, title, text):
return {
"title" : title,
"author" : author,
"text" : text
}
testcomments = {
1 : dumps(
[
comment("Anonymous Coward", "Some comment?", "super duper awesome comment here"),
comment("Anonymous Coward 3", "Something? IDEK", "super duper worse comment here"),
comment("Anonymous Coward 2", "Some other comment?", "super duper dang terrible comment here")
])
}