OpenQuizz
Une application de gestion des contenus pédagogiques
werkzeug.debug Namespace Reference

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
 

Function Documentation

◆ get_machine_id()

def werkzeug.debug.get_machine_id ( )

◆ get_pin_and_cookie_name()

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.

◆ hash_pin()

def werkzeug.debug.hash_pin (   pin)

Variable Documentation

◆ PIN_TIME

PIN_TIME