OpenQuizz
Une application de gestion des contenus pédagogiques
|
Namespaces | |
console | |
repr | |
tbtools | |
Data Structures | |
class | _ConsoleFrame |
class | DebuggedApplication |
Functions | |
def | hash_pin (pin) |
def | get_machine_id () |
def | get_pin_and_cookie_name (app) |
Variables | |
PIN_TIME | |
def werkzeug.debug.get_machine_id | ( | ) |
def werkzeug.debug.get_pin_and_cookie_name | ( | app | ) |
Given an application object this returns a semi-stable 9 digit pin code and a random key. The hope is that this is stable between restarts to not make debugging particularly frustrating. If the pin was forcefully disabled this returns `None`. Second item in the resulting tuple is the cookie name for remembering.
def werkzeug.debug.hash_pin | ( | pin | ) |
PIN_TIME |