Always create actors when creating a user
The following discussion from !1942 (merged) should be addressed:
-
@wvffle started a discussion: (+6 comments) There might be a case when actor for the username is absent.
try: actor = Actor.objects.get(name=kwargs["username"]) except Exception: user = User.objects.get(username=kwargs["username"]) user.create_actor() actor = user.actor