<s> from tastypie . resources import ModelResource <EOL> from brubeck . events . models import Event <EOL> class EventResource ( ModelResource ) : <EOL> class Meta : <EOL> queryset = Event . objects . all ( ) <EOL> resource_name = '<STR_LIT>' <EOL> allowed_methods = [ '<STR_LIT>' ] </s>
