Page MenuHomePhabricator

If logged in as user with no related editor, partner pages error
Closed, DeclinedPublic

Description

If logged in, we check whether users have existing applications for a partner when they open their partner page.

if self.request.user.is_authenticated() and not partner.bundle:
    sent_apps = Application.objects.filter(
        editor=self.request.user.editor, 
        ....

But if logged in as a user without a corresponding editor, this will fail.