refactor: reformatted code

This commit is contained in:
ITQ
2025-02-22 07:53:33 +03:00
parent e3da9730f3
commit 92f1aeba16
3 changed files with 13 additions and 13 deletions
@@ -2,7 +2,6 @@ from typing import TYPE_CHECKING
from django.core.cache import cache
from django.core.exceptions import ValidationError
from django.db.models.fields import Field
if TYPE_CHECKING:
from apps.campaign.models import Campaign, CampaignReport
@@ -21,6 +20,7 @@ class CampaignTargetingGenderValidator:
err = "gender can't be blank."
raise ValidationError(err)
class CampaignAgeValidator:
def __call__(self, instance: "Campaign") -> None:
if (