def get_path_fields(cls, base=[]):
pfs = []<EOL>for pf in cls.TutelaryMeta.path_fields:<EOL><INDENT>if pf == '<STR_LIT>':<EOL><INDENT>pfs.append(base + ['<STR_LIT>'])<EOL><DEDENT>else:<EOL><INDENT>f = cls._meta.get_field(pf)<EOL>if isinstance(f, models.ForeignKey):<EOL><INDENT>pfs += get_path_fields(f.target_field.model, base=base + [pf])<EOL><DEDENT>else:<EOL><INDENT>pfs.append(base + [f.name])<EOL><DEDENT><DEDENT><DEDENT>return pfs<EOL>
Get object fields used for calculation of django-tutelary object
    paths.