<s> from . . recipe import BaseRecipe <EOL> from . . compat import get_user_model <EOL> class BadRecipe ( object ) : <EOL> pass <EOL> class NotImplementedRecipe ( BaseRecipe ) : <EOL> pass <EOL> class Recipe1 ( BaseRecipe ) : <EOL> name = '<STR_LIT>' <EOL> slug = '<STR_LIT>' <EOL> description = '<STR_LIT>' <EOL> @ property <EOL> def image ( self ) : <EOL> return '<STR_LIT:image>' <EOL> @ property <EOL> def user_ids ( self ) : <EOL> return ( get_user_model ( ) . objects . filter ( love_python = True ) <EOL> . values_list ( '<STR_LIT:id>' , flat = True ) ) <EOL> class Recipe2 ( BaseRecipe ) : <EOL> name = '<STR_LIT>' <EOL> slug = '<STR_LIT>' <EOL> description = '<STR_LIT>' <EOL> @ property <EOL> def image ( self ) : <EOL> return '<STR_LIT:image>' <EOL> @ property <EOL> def user_ids ( self ) : <EOL> return [ ] </s>
