<s> from django . views . decorators . cache import never_cache <EOL> from django . views . generic import RedirectView <EOL> class NeverCacheRedirectView ( RedirectView ) : <EOL> permanent = False <EOL> @ never_cache <EOL> def get ( self , request , * args , ** kwargs ) : <EOL> return RedirectView . get ( self , request , * args , ** kwargs ) </s>
