diff --git a/blog/views/opensource/opensource_forms.py b/blog/views/opensource/opensource_forms.py index fb7aa77..26bd32f 100644 --- a/blog/views/opensource/opensource_forms.py +++ b/blog/views/opensource/opensource_forms.py @@ -34,7 +34,6 @@ def __init__(self, *args, **kwargs): self.fields["tag_set"].initial = ",".join( str(tag.tag) for tag in self.instance.tag_set.all() ) - print("final tag !!!!!!!! : ", self.fields["tag_set"].initial) class Meta: model = OpenSourcePost diff --git a/users/views/users_forms.py b/users/views/users_forms.py index 6b727d4..c1476a1 100644 --- a/users/views/users_forms.py +++ b/users/views/users_forms.py @@ -87,7 +87,10 @@ def check_email_validation_with_dns(self, email: str) -> [str, bool]: return emailinfo.normalized, True except EmailNotValidError as e: - print(str(e)) + logger.debug( + "EmailNotValidError :", + extra={"error : ": str(e)}, + ) return "", False def clean(self):