<s> from django . db import models <EOL> from django . db import models <EOL> from wham . fields import WhamTextField , WhamIntegerField <EOL> from wham . models import WhamModel <EOL> class SoundcloudMeta : <EOL> base_url = '<STR_LIT>' <EOL> auth_for_public_get = '<STR_LIT>' <EOL> api_key_settings_name = '<STR_LIT>' <EOL> api_key_param = '<STR_LIT>' <EOL> class SoundcloudTrack ( WhamModel ) : <EOL> id = models . CharField ( max_length = <NUM_LIT:255> , primary_key = True ) <EOL> title = WhamTextField ( ) <EOL> track_type = WhamTextField ( null = True ) <EOL> stream_url = WhamTextField ( null = True ) <EOL> playback_count = WhamIntegerField ( null = True ) <EOL> class Meta : <EOL> db_table = '<STR_LIT>' <EOL> class WhamMeta ( SoundcloudMeta ) : <EOL> url_postfix = '<STR_LIT>' <EOL> endpoint = '<STR_LIT>' <EOL> class Search : <EOL> endpoint = '<STR_LIT>' <EOL> fields = ( '<STR_LIT:title>' , ) <EOL> def __unicode__ ( self ) : <EOL> return self . title </s>
