<s> import datetime <EOL> from google . appengine . _internal . django . core . management . base import NoArgsCommand <EOL> class Command ( NoArgsCommand ) : <EOL> help = "<STR_LIT>" <EOL> def handle_noargs ( self , ** options ) : <EOL> from google . appengine . _internal . django . db import transaction <EOL> from google . appengine . _internal . django . contrib . sessions . models import Session <EOL> Session . objects . filter ( expire_date__lt = datetime . datetime . now ( ) ) . delete ( ) <EOL> transaction . commit_unless_managed ( ) </s>
