diff --git a/src/tickets/models.py b/src/tickets/models.py index e6ed1253..52070fbf 100644 --- a/src/tickets/models.py +++ b/src/tickets/models.py @@ -17,8 +17,6 @@ from utils.models import ( from utils.pdf import generate_pdf_letter from django.db import models from django.db.models.signals import post_save -from django.db.models import Count -from ircbot.models import OutgoingIrcMessage logger = logging.getLogger("bornhack.%s" % __name__) diff --git a/src/tickets/signals.py b/src/tickets/signals.py index df43840e..310984ea 100644 --- a/src/tickets/signals.py +++ b/src/tickets/signals.py @@ -3,6 +3,7 @@ from datetime import ( timedelta, datetime ) +from django.db.models import Count def ticket_changed(sender, instance, created, **kwargs): """