summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorlxf <sng@luxagraf.net>2021-10-30 09:47:12 -0400
committerlxf <sng@luxagraf.net>2021-10-30 09:47:12 -0400
commitd2fbaa84653968127461db559659484eda6181cf (patch)
tree4c6d27eff5b440ca6af6baf392c03dac54c34a83 /app
parentd4f3f8d4fe2dc37d1b8c539bf48b09e73520195d (diff)
lttr: fixed a bug in signal
Diffstat (limited to 'app')
-rw-r--r--app/lttr/models.py1
1 files changed, 1 insertions, 0 deletions
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