 from django . views import generic 
 from . import settings 
 from django . views import generic <EOL> from . import settings <EOL> from . helpers import get_url_redirect <EOL> class LoginRedirectView ( generic . RedirectView ) : <EOL> permanent = False <EOL> def get_redirect_url ( self , ** kwargs ) : <EOL> return get_url_redirect ( self . request ) or settings . DEFAULT_REDIRECT_URL </s>
