X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/2f331ef41f1d5db23305ec79a02dfbff342ce893..7b8667f75ce0d04e5c6accec9ecff8f621abf26a:/src/club/models.py?ds=inline diff --git a/src/club/models.py b/src/club/models.py index b5df04113..468622f91 100644 --- a/src/club/models.py +++ b/src/club/models.py @@ -11,10 +11,9 @@ from django.core.mail import send_mail, EmailMessage from django.urls import reverse from django.db import models from django import template -from django.utils.timezone import now -from django.utils.translation import ugettext_lazy as _, ungettext, ugettext, get_language +from django.utils.timezone import now, utc +from django.utils.translation import gettext_lazy as _, ngettext, gettext, get_language from django_countries.fields import CountryField -from pytz import utc from catalogue.utils import get_random_hash from messaging.states import Level from reporting.utils import render_to_pdf