From cef95b57da24305bdc3d07be1c89bed34e758b76 Mon Sep 17 00:00:00 2001 From: Pierre-antoine Comby Date: Mon, 8 Jul 2019 15:29:03 +0200 Subject: [PATCH] add lazy_text --- note/models.py | 1 + 1 file changed, 1 insertion(+) diff --git a/note/models.py b/note/models.py index 3e10d972..e071672c 100644 --- a/note/models.py +++ b/note/models.py @@ -6,6 +6,7 @@ from django.conf import settings from django.contrib.auth.models import User from django.db import models +from django.utils.translation import gettext_lazy as _ from django.contrib.contenttypes.models import ContentType from django.contrib.contenttypes.fields import GenericForeignKey