def pre_create_google_user(self, email, **extra_fields):
        values = dict(
            # defaults which can be overridden
            is_active=True,
        )
        values.update(**extra_fields)
        values.update(
            # things which cannot be overridden
            email=self.normalize_email(email),
            username=None,
            password=make_password(None), # unusable password
            # Stupidly, last_login is not nullable, so we can't set it to None.
        )
        return self.create(**values)
POSTing to an unknown page isn't caught as a 403 CSRF error
dataset/ETHPy150Open potatolondon/djangae/djangae/contrib/gauth/common/models.py/GaeUserManager.pre_create_google_user--crossover with--dataset/ETHPy150Open django/django/tests/flatpages_tests/test_csrf.py/FlatpageCSRFTests.test_post_unknown_page