.
This commit is contained in:
+2
-2
@@ -1,5 +1,5 @@
|
||||
from django.db import models
|
||||
from django.http import request
|
||||
from django.http import HttpRequest
|
||||
from smtplib import SMTPException
|
||||
|
||||
from django.urls import reverse
|
||||
@@ -238,7 +238,7 @@ class CidUser(models.Model):
|
||||
if self.login_email_sent and not self.resend:
|
||||
return False, "Already sent."
|
||||
|
||||
login_url = request.build_absolute_uri(reverse("cid_selector"))
|
||||
login_url = HttpRequest.build_absolute_uri(reverse("cid_selector"))
|
||||
|
||||
msg = f"""
|
||||
See below for you details for: {self.group}
|
||||
|
||||
Reference in New Issue
Block a user