From 954ddafec3c8012d1da3f01fa5ac4fbc548b797a Mon Sep 17 00:00:00 2001 From: Santiago Lamora Date: Thu, 25 Jan 2024 14:39:40 +0100 Subject: [PATCH] Add missing imports (ValidationError & gettext_lazy) --- orchestra/contrib/musician/validators.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/orchestra/contrib/musician/validators.py b/orchestra/contrib/musician/validators.py index 5289ccff..c117ae77 100644 --- a/orchestra/contrib/musician/validators.py +++ b/orchestra/contrib/musician/validators.py @@ -1,3 +1,6 @@ +from django.core.exceptions import ValidationError +from django.utils.translation import gettext_lazy as _ + from orchestra.contrib.domains.helpers import domain_for_validation from orchestra.contrib.domains.models import Record from orchestra.contrib.domains.validators import validate_zone