Skip to content

Commit

Permalink
Merge pull request #221 from TomasLoow/master
Browse files Browse the repository at this point in the history
Fix RemovedInDjango40Warning from Signal arguments
  • Loading branch information
ubernostrum committed Dec 12, 2020
2 parents 25a668e + eb22ca9 commit 5666558
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/django_registration/signals.py
Expand Up @@ -6,7 +6,9 @@
from django.dispatch import Signal

# A new user has registered.
user_registered = Signal(providing_args=["user", "request"])
# Provided args: user, request
user_registered = Signal()

# A user has activated his or her account.
user_activated = Signal(providing_args=["user", "request"])
# Provided args: user, request
user_activated = Signal()

0 comments on commit 5666558

Please sign in to comment.