.
This commit is contained in:
@@ -89,6 +89,8 @@ class AuthorOrCheckerRequiredMixin(object):
|
||||
|
||||
@register.filter
|
||||
def get_item(dictionary, key):
|
||||
if dictionary is None:
|
||||
return ""
|
||||
return dictionary.get(key)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user