NDBUnq

Poor man unique constraints for Google Appengine NDB
Download

NDBUnq Ranking & Summary

Advertisement

  • Rating:
  • License:
  • MIT/X Consortium Lic...
  • Price:
  • FREE
  • Publisher Name:
  • Vladimir Mihailenco
  • Publisher web site:
  • https://bitbucket.org/vladimir_webdev/

NDBUnq Tags


NDBUnq Description

NDBUnq is a Python module that emulates unique constraints on Google Appengine Datastore using NDB hooks.ExampleThere is full working example for Flask: https://github.com/vmihailenco/ndbunq-example/:import ndbunqfrom google.appengine.ext import ndbclass User(ndbunq.Model): username = ndb.StringProperty(required=True) class Meta: # username is guaranteed to be unique unique = (('username',),)Product's homepage


NDBUnq Related Software