diff --git a/tournaments/signals.py b/tournaments/signals.py index 067a255..40af1fb 100644 --- a/tournaments/signals.py +++ b/tournaments/signals.py @@ -30,6 +30,7 @@ def notify_discord_on_create(sender, instance, created, **kwargs): def notify_user_creation_on_discord(sender, instance, created, **kwargs): notify_object_creation_on_discord(created, instance) +# WARNING: using this method requires the instance to have a discord_string method def notify_object_creation_on_discord(created, instance): if created: default_db_engine = settings.DATABASES['default']['ENGINE']