Skip to content

Instantly share code, notes, and snippets.

@jdunne-kaplan
Created February 6, 2015 16:51
Show Gist options
  • Save jdunne-kaplan/39f4d33e5d09db31b363 to your computer and use it in GitHub Desktop.
Save jdunne-kaplan/39f4d33e5d09db31b363 to your computer and use it in GitHub Desktop.
kapx-site-secure add non-edu employee to exception table
from google.appengine.ext import ndb
from models import models
key = ndb.Key(models.KnownKaplanEmployee, "employee@nonkaplandomain.com")
models.KnownKaplanEmployee(key=key).put()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment