<s> from changes . api . serializer import Crumbler , register <EOL> from changes . models import Cluster <EOL> @ register ( Cluster ) <EOL> class ClusterCrumbler ( Crumbler ) : <EOL> def crumble ( self , instance , attrs ) : <EOL> return { <EOL> '<STR_LIT:id>' : instance . id . hex , <EOL> '<STR_LIT:name>' : instance . label , <EOL> '<STR_LIT>' : instance . date_created , <EOL> } </s>
