In a template I want to call a class attributes of a foreign-key form field item.pid like shown below
{%for