def post(self): content = self.get_argument('content', None) username = self.current_user if content is None: raise exceptions.EmptyFields() yield gen.maybe_future(Announcement.create(username, content))