'Login as a user that starts out with no roles/permissions granted.'

def _login_as_non_staff_user(self, logout_first=True):

    if logout_first:
        self.client.logout()
    self.client.login(username=self.non_staff_user.username, password=self.non_staff_user_password)
