Skip to content

Commit

Permalink
Fix code and remove print's
Browse files Browse the repository at this point in the history
  • Loading branch information
avanegasp committed Jan 29, 2025
1 parent be2376c commit 9c558fc
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions breathecode/events/serializers.py
Original file line number Diff line number Diff line change
Expand Up @@ -361,8 +361,6 @@ class Meta:
model = Event
exclude = ()

print("EVENT*******************", Event.recording_url)

def validate(self, data: dict[str, Any]):
lang = data.get("lang", "en")

Expand All @@ -378,9 +376,6 @@ def validate(self, data: dict[str, Any]):
slug="invalid-recording-url",
)
)
if recording_url is None or recording_url == "":
print("No recording_url provided or it's empty", recording_url)
print("/////////////////////////////recording_url", recording_url)

if ("tags" not in data and self.instance.tags == "") or ("tags" in data and data["tags"] == ""):
raise ValidationException(
Expand All @@ -396,7 +391,6 @@ def validate(self, data: dict[str, Any]):

title = data.get("title")
slug = data.get("slug")
print("TIIIIITTTTLEEEEEEEEEE", title)

if slug and self.instance:
raise ValidationException(
Expand Down

0 comments on commit 9c558fc

Please sign in to comment.