<s> """<STR_LIT>""" <EOL> from django . core . management . base import NoArgsCommand <EOL> from django . db import connection <EOL> from pprint import pprint <EOL> from pexp . models import * <EOL> def reset_queries ( ) : <EOL> connection . queries = [ ] <EOL> def show_queries ( ) : <EOL> print <EOL> print '<STR_LIT>' , len ( connection . queries ) <EOL> pprint ( connection . queries ) <EOL> print <EOL> connection . queries = [ ] <EOL> class Command ( NoArgsCommand ) : <EOL> help = "<STR_LIT>" <EOL> def handle_noargs ( self , ** options ) : <EOL> Project . objects . all ( ) . delete ( ) <EOL> o = Project . objects . create ( topic = "<STR_LIT>" ) <EOL> o = ArtProject . objects . create ( topic = "<STR_LIT>" , artist = "<STR_LIT>" ) <EOL> o = ResearchProject . objects . create ( topic = "<STR_LIT>" , supervisor = "<STR_LIT>" ) <EOL> print Project . objects . all ( ) <EOL> print </s>
