Skip to content

Commit

Permalink
remove debug print code
Browse files Browse the repository at this point in the history
  • Loading branch information
bluebamus committed Oct 22, 2024
1 parent 19e5061 commit eea12f8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
1 change: 0 additions & 1 deletion blog/views/opensource/opensource_forms.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
5 changes: 4 additions & 1 deletion users/views/users_forms.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit eea12f8

Please sign in to comment.