1👍
✅
There is a circular import here as you can see in the last half of the trace. Basically, adding the import notifications.utils as U creates a link in a chain that starts and ends at accounts\models.py
There are various ways of handling circular imports, but without the specifics of your code it’s hard to see what would fit. This answer may have some useful suggestions.
Source:stackexchange.com