Snyc with master to get patches for ru templates and custom User models

This commit is contained in:
Garret Wassermann
2019-08-05 19:40:38 -04:00
4 changed files with 8 additions and 6 deletions

View File

@ -11,7 +11,7 @@ from django.core.management.base import BaseCommand
from django.db.models import Q
from django.utils.translation import ugettext as _
from django.utils import encoding, timezone
from django.contrib.auth.models import User
from django.contrib.auth import get_user_model
from helpdesk import settings
from helpdesk.lib import safe_template_context, process_attachments
@ -41,6 +41,9 @@ from email_reply_parser import EmailReplyParser
import logging
# import User model, which may be a custom model
User = get_user_model()
STRIPPED_SUBJECT_STRINGS = [
"Re: ",