Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Do a comparison on user.profile to verify it's not None.
This assert shouldn't matter as user.profile should trigger an exception. However, there are cases with py3.10 and Django 4.2 that aren't raising the exception as desired.
- Loading branch information