Sender = __class__ pour les signaux

This commit is contained in:
Robin Champenois 2021-01-17 22:51:15 +01:00
parent fc87e52fd1
commit 97f00278f9

View file

@ -108,7 +108,9 @@ class ENSCASBackend:
CASAccount.objects.create( CASAccount.objects.create(
user=user, entrance_year=entrance_year, cas_login=cas_login user=user, entrance_year=entrance_year, cas_login=cas_login
) )
post_cas_create.send(user, cas_login=cas_login, attributes=attributes) post_cas_create.send(
CASAccount, cas_login=cas_login, attributes=attributes
)
return user return user
# Django boilerplate. # Django boilerplate.