Пример #1
0
def add_comment(event, title, author, description):
    c = Comment(event = event, title = title)
    c.author = author
    c.description = description
    c.save()
    return c