Skip to content

Commit b521df6

Browse files
committed
removed debug prints
1 parent a48e36c commit b521df6

3 files changed

Lines changed: 2 additions & 4 deletions

File tree

events/signals.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,9 @@ def autoposting_receiver(sender, instance, created, *args, **kwargs):
1616
if response["ok"]:
1717
instance.tg_message_id = response["result"]["message_id"]
1818
instance.save()
19-
# print(response) -
2019
else:
2120
link = f"{APP_URL}/{instance.pk}"
2221
text = f"***{instance.title}***\n{instance.short_text}\n\n{link}"
2322
response = edit_message(
2423
text, instance.tg_message_id, settings.TELEGRAM_CHANNEL
2524
)
26-
# print(response) -

partner_programs/views.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,6 @@ def post(self, request, *args, **kwargs):
7373
# tilda cringe
7474
if data.get("test") == "test":
7575
return Response(status=status.HTTP_200_OK)
76-
print(data)
7776
user_fields = (
7877
# "email",
7978
# "password",

users/admin.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,8 @@ def save_model(self, request, obj, form, change):
122122
elif old_user.user_type == CustomUser.INVESTOR:
123123
old_user.investor.delete()
124124
except Exception:
125-
print(f"User type `{old_user.user_type}` is not supported!")
125+
# ???
126+
pass
126127

127128
if obj.user_type == CustomUser.MEMBER:
128129
Member.objects.create(user=old_user)

0 commit comments

Comments
 (0)