Skip to content

Commit

Permalink
Fix: Fixed brazilian docs validators not being abble to being seriali…
Browse files Browse the repository at this point in the history
…zed by migrations
  • Loading branch information
victoriafabriss committed Dec 7, 2023
1 parent 8e5c172 commit 0b3fb38
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/app/validators/br/doc.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
from typing import TYPE_CHECKING

from django.core.exceptions import ValidationError
from django.utils.deconstruct import deconstructible
from django.utils.translation import gettext_lazy as _
from validate_docbr import (
CNH,
Expand All @@ -17,7 +18,7 @@
if TYPE_CHECKING:
from django_stubs_ext import StrOrPromise


@deconstructible
class BrazilianDocBaseValidator:
message: "StrOrPromise"
validator: BaseDoc
Expand Down

0 comments on commit 0b3fb38

Please sign in to comment.