Fix access grant and revoke workflow actions

Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
This commit is contained in:
Roberto Rosario
2019-06-09 03:04:36 -04:00
parent 2ae2dfd687
commit cbfab25c94
2 changed files with 13 additions and 1 deletions

View File

@@ -36,7 +36,7 @@ class ModelPermission(object):
if as_content_type:
content_type_dictionary = ContentType.objects.get_for_models(
models=cls._registry.keys()
*cls._registry.keys()
)
content_type_ids = [
content_type.pk for content_type in content_type_dictionary.values()