mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-05-18 18:39:21 +02:00
Fix signal handling with correct User class
This commit is contained in:
parent
60f282752b
commit
c5f5b3ce31
1 changed files with 1 additions and 2 deletions
|
@ -1,8 +1,7 @@
|
|||
from django.db.models.signals import post_save
|
||||
from django.contrib.auth.models import User
|
||||
from django.dispatch import receiver
|
||||
|
||||
from .models import UserProfile
|
||||
from .models import User, UserProfile
|
||||
|
||||
|
||||
@receiver(post_save, sender=User)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue