def post(self, app_name): app, app_name = self._global(app_name) app["github_account"] = self.get_argument("github_account", None) app["github_repository"] = self.get_argument("github_repository", None) app["github_username"] = self.get_argument("github_username", None) app["github_token"] = self.get_argument("github_token", None) app["lighthouse_apitoken"] = self.get_argument("lighthouse_apitoken", None) app["lighthouse_project_id"] = self.get_argument("lighthouse_project_id", None) ApplicationService.save_application(app) self.redirect("/configure/%s" % app_name)
def post(self, app_name): app, app_name = self._global(app_name) app['github_account'] = self.get_argument('github_account', None) app['github_repository'] = self.get_argument('github_repository', None) app['github_username'] = self.get_argument('github_username', None) app['github_token'] = self.get_argument('github_token', None) app['lighthouse_apitoken'] = self.get_argument('lighthouse_apitoken', None) app['lighthouse_project_id'] = self.get_argument('lighthouse_project_id', None) ApplicationService.save_application(app) self.redirect('/configure/%s' % app_name)