<s> from uliweb import Middleware <EOL> class AuthMiddle ( Middleware ) : <EOL> ORDER = <NUM_LIT:100> <EOL> def process_request ( self , request ) : <EOL> from uliweb . contrib . auth import get_user <EOL> request . user = get_user ( ) </s>
