Exemplo n.º 1
0
def ban(item):
    item = ContentItem.get_by_id(item)
    item.banned = True
    item.save()
    return redirect("/")