<s> from django import template <EOL> register = template . Library ( ) <EOL> @ register . inclusion_tag ( '<STR_LIT>' ) <EOL> def lobbyists_diff ( lobbyist_history , previous_lobbyist_history ) : <EOL> ( added , deleted ) = lobbyist_history . diff ( previous_lobbyist_history ) <EOL> return { '<STR_LIT>' : added , '<STR_LIT>' : deleted } </s>
