It seems that the unique constraint is not natively supported in GAE, although one can enforce unique check before putting an object to store.
unique
But tha
You can achieve a "unique constraint" in app engine's data store as described here. The example is presented in Java, but you should be able to apply the same concepts in python.