Logging is finally processed at post saved, but old instance is querried
This commit is contained in:
parent
bcee5f8f2f
commit
9cd050e2f0
3 changed files with 21 additions and 11 deletions
|
|
@ -6,7 +6,7 @@ from django.conf import settings
|
|||
from django.db.models.signals import post_save
|
||||
from django.utils.translation import gettext_lazy as _
|
||||
|
||||
from .signals import save_user_note
|
||||
from .signals import save_user_profile
|
||||
|
||||
|
||||
class MemberConfig(AppConfig):
|
||||
|
|
@ -18,6 +18,6 @@ class MemberConfig(AppConfig):
|
|||
Define app internal signals to interact with other apps
|
||||
"""
|
||||
post_save.connect(
|
||||
save_user_note,
|
||||
save_user_profile,
|
||||
sender=settings.AUTH_USER_MODEL,
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue