<s> from django . core . management . base import NoArgsCommand <EOL> from events . models import Calendar <EOL> class Command ( NoArgsCommand ) : <EOL> """<STR_LIT>""" <EOL> def handle_noargs ( self , * args , ** kwargs ) : <EOL> calendars = Calendar . objects . filter ( url__isnull = False ) <EOL> for calendar in calendars : <EOL> calendar . import_events ( ) </s>
