From d2fbaa84653968127461db559659484eda6181cf Mon Sep 17 00:00:00 2001 From: lxf Date: Sat, 30 Oct 2021 09:47:12 -0400 Subject: lttr: fixed a bug in signal --- app/lttr/models.py | 1 + 1 file changed, 1 insertion(+) (limited to 'app/lttr') diff --git a/app/lttr/models.py b/app/lttr/models.py index 8f773ca..09f1c87 100644 --- a/app/lttr/models.py +++ b/app/lttr/models.py @@ -4,6 +4,7 @@ from django.dispatch import receiver from django.contrib.gis.db import models from django.db.models.signals import post_save from django.contrib.sites.models import Site +from django.contrib.sites.shortcuts import get_current_site from django.template.loader import select_template from django.utils.translation import ugettext_lazy as _ from django.utils import timezone -- cgit v1.2.3-70-g09d2