def _credentials_filename(item): return slugify( '-'.join([ "openbare", "credentials", str(item.pk), item.name ]) ) + ".json"