def get(self): if self.view_clears_session: session.clear_checker() category = request.args.get("category") if category == "other": category = "" category_name = None if category: category_name = category_id_to_name(category) return self.render(category=category, category_name=category_name)
def get(self): if self.view_clears_session: session.clear_checker() category = request.args.get("category") if category == "other": category = "" category_name = None if category: category_name = category_id_to_name(category) return self.render(category=category, category_name=category_name)
def get(self): session.clear_checker() confirmation_email = session.get("confirmation_email", None) if confirmation_email: del session["confirmation_email"] if not session.stored.get("case_ref"): abort(404) return render_template( "checker/result/confirmation.html", form=self.form, confirmation_email=confirmation_email )
def get(self): session.clear_checker() confirmation_email = session.get("confirmation_email", None) if confirmation_email: del session["confirmation_email"] if not session.stored.get("case_ref"): abort(404) return render_template( "checker/result/confirmation.html", form=self.form, confirmation_email=confirmation_email )
def get(self): if self.view_clears_session: session.clear_checker() category = request.args.get("category") if category == "other": category = "" category_name = None if category: category_name = category_id_to_name(category) return self.render( category=category, category_name=category_name, extra_context=self.get_extra_postcode_context( request.args.get("postcode")), )
def clear_session(self): if session.checker: session.clear_checker()
def clear_session(self): if session.checker: session.clear_checker()
def get(self): session.clear_checker() return render_template("scope/mediation.html")
def get(self): session.clear_checker() return render_template("scope/mediation.html")