Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Usage of @receiver(post_save, sender=CustomUser) #3

Closed
ayushnanda21 opened this issue Dec 9, 2020 · 2 comments
Closed

Usage of @receiver(post_save, sender=CustomUser) #3

ayushnanda21 opened this issue Dec 9, 2020 · 2 comments

Comments

@ayushnanda21
Copy link

As we know,
all this receiver will work when we add new data in custom user table after inserting it will insert current id of customuser into othertsable such as adminhod,staff,student

But this is the error and amy models.py
image

@ayushnanda21
Copy link
Author

It occurs while creation of superusers in db

@hackstarsj
Copy link
Owner

hackstarsj commented Dec 9, 2020 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants