<s> from django . db import models <EOL> from django . conf import settings <EOL> from stream_django . activity import Activity <EOL> class Pin ( models . Model , Activity ) : <EOL> author = models . ForeignKey ( settings . AUTH_USER_MODEL ) <EOL> created_at = models . DateTimeField ( auto_now_add = True ) <EOL> @ property <EOL> def activity_object_attr ( self ) : <EOL> return self <EOL> @ property <EOL> def activity_actor_attr ( self ) : <EOL> return self . author </s>
