<s> import os , sys <EOL> sys . path . insert ( <NUM_LIT:0> , os . path . join ( os . path . dirname ( __file__ ) , '<STR_LIT:..>' , '<STR_LIT:..>' ) ) <EOL> from importd import d <EOL> d ( INSTALLED_APPS = [ "<STR_LIT>" ] ) <EOL> @ d ( "<STR_LIT:/>" ) <EOL> def main ( request ) : <EOL> objects = TestModel . objects . all ( ) <EOL> return d . HttpResponse ( "<STR_LIT:\n>" . join ( map ( lambda obj : obj . value , objects ) ) ) <EOL> @ d ( "<STR_LIT>" ) <EOL> def add ( request , value ) : <EOL> TestModel . objects . create ( value = value ) <EOL> return d . HttpResponse ( "<STR_LIT>" ) <EOL> class TestModel ( d . models . Model ) : <EOL> value = d . models . CharField ( max_length = <NUM_LIT:20> ) <EOL> d . register_admin ( TestModel ) <EOL> if __name__ == "<STR_LIT:__main__>" : <EOL> d . main ( ) </s>
