<s> from tastypie . resources import ModelResource <EOL> from tastypie import fields <EOL> from brubeck . multimedia . models import AudioClip , Slideshow , Video <EOL> class AudioResource ( ModelResource ) : <EOL> tag = fields . ToManyField ( '<STR_LIT>' , '<STR_LIT>' ) <EOL> class Meta : <EOL> queryset = AudioClip . objects . all ( ) <EOL> resource_name = '<STR_LIT>' <EOL> allowed_methods = [ '<STR_LIT>' ] <EOL> class SlideshowResource ( ModelResource ) : <EOL> tag = fields . ToManyField ( '<STR_LIT>' , '<STR_LIT>' ) <EOL> class Meta : <EOL> queryset = Slideshow . objects . all ( ) <EOL> resource_name = '<STR_LIT>' <EOL> allowed_methods = [ '<STR_LIT>' ] <EOL> class VideoResource ( ModelResource ) : <EOL> tag = fields . ToManyField ( '<STR_LIT>' , '<STR_LIT>' ) <EOL> class Meta : <EOL> queryset = Video . objects . all ( ) <EOL> resource_name = '<STR_LIT>' <EOL> allowed_methods = [ '<STR_LIT>' ] </s>
