How to Solve NameError: name 'user_activated' is not defined -- djoser

Solution: Import the 'user_activated' module

To Solve the error, add the following line to the top of your code.

from djoser.signals import user_activated

 

For more information:
Python djoser user_activated