X-Git-Url: https://git.openstreetmap.org./osqa.git/blobdiff_plain/13bee2f2e6aea2d936909861f3ab60bb09821a60..fd5174ac564e77cabc5e1a5919f2d29f426fb261:/forum/utils/userlinking.py diff --git a/forum/utils/userlinking.py b/forum/utils/userlinking.py index da476ee..6693883 100644 --- a/forum/utils/userlinking.py +++ b/forum/utils/userlinking.py @@ -1,6 +1,6 @@ import re -from forum.models import User, Question, Answer, Comment +from forum.models.user import User def find_best_match_in_name(content, uname, fullname, start_index): end_index = start_index + len(fullname) @@ -20,20 +20,8 @@ def find_best_match_in_name(content, uname, fullname, start_index): APPEAL_PATTERN = re.compile(r'(?