<s> from django . core . management . base import NoArgsCommand <EOL> class Command ( NoArgsCommand ) : <EOL> help = "<STR_LIT>" <EOL> requires_model_validation = False <EOL> def handle_noargs ( self , ** options ) : <EOL> from django . db . models import get_models <EOL> for model in get_models ( ) : <EOL> if hasattr ( model . objects , '<STR_LIT>' ) : <EOL> print '<STR_LIT>' % ( model . __name__ , model . get_resource_url_list ( ) ) <EOL> for field in model . _meta . fields : <EOL> print '<STR_LIT>' % ( field . attname , field . __class__ . __name__ ) </s>
