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