diff --git a/ourchive_app/api/utils.py b/ourchive_app/api/utils.py index 0bb6fefa..e390dca4 100644 --- a/ourchive_app/api/utils.py +++ b/ourchive_app/api/utils.py @@ -1,6 +1,7 @@ from django.core.exceptions import ObjectDoesNotExist import nh3 import unidecode +from django.contrib.auth.models import AnonymousUser def count_words(text):