diff --git a/profiles/viewsets.py b/profiles/viewsets.py index c9f7584..25bbd6f 100644 --- a/profiles/viewsets.py +++ b/profiles/viewsets.py @@ -26,7 +26,6 @@ class ProfileViewSet(viewsets.ModelViewSet): profile: ProfileModel = ProfileModel.objects.get(pk=self.request.user.pk) avatar = self.request.data.get("file", None) if (avatar is not None): - print(profile.avatar_url.name) if (profile.avatar_url.name != "default.avif"): profile.avatar_url.storage.delete(profile.avatar_url.name) profile.avatar_url = avatar