From 125f43734546500145fe454d65ac460234e0cc11 Mon Sep 17 00:00:00 2001 From: Yohann D'ANELLO Date: Thu, 27 Feb 2020 15:41:15 +0100 Subject: [PATCH] Profiles are saved after the user --- apps/member/apps.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/member/apps.py b/apps/member/apps.py index 20be3e3c..8a6ebe1f 100644 --- a/apps/member/apps.py +++ b/apps/member/apps.py @@ -3,7 +3,7 @@ from django.apps import AppConfig from django.conf import settings -from django.db.models.signals import pre_save +from django.db.models.signals import post_save from django.utils.translation import gettext_lazy as _ from .signals import save_user_note @@ -17,7 +17,7 @@ class MemberConfig(AppConfig): """ Define app internal signals to interact with other apps """ - pre_save.connect( + post_save.connect( save_user_note, sender=settings.AUTH_USER_MODEL, )