<s> from django . contrib . auth import views as auth_views <EOL> from . decorators import watch_login <EOL> class FailedLoginMiddleware ( object ) : <EOL> def __init__ ( self , * args , ** kwargs ) : <EOL> super ( FailedLoginMiddleware , self ) . __init__ ( * args , ** kwargs ) <EOL> auth_views . login = watch_login ( auth_views . login ) </s>
