1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-24 04:48:03 +00:00

delete trans in Invitation model (#4225)

This commit is contained in:
Leo
2019-11-05 15:33:03 +08:00
committed by Daniel Pan
parent 0fd17abbf5
commit a16df9ed9f

View File

@@ -12,7 +12,7 @@ from seahub.utils import gen_token, get_site_name
from seahub.utils.timeutils import datetime_to_isoformat_timestr from seahub.utils.timeutils import datetime_to_isoformat_timestr
from seahub.utils.mail import send_html_email_with_dj_template, MAIL_PRIORITY from seahub.utils.mail import send_html_email_with_dj_template, MAIL_PRIORITY
GUEST = _('Guest') GUEST = 'Guest'
class InvitationManager(models.Manager): class InvitationManager(models.Manager):
def add(self, inviter, accepter, invite_type=GUEST): def add(self, inviter, accepter, invite_type=GUEST):