I just wrote an extension to db.Model that (I hope) ensures uniqueness of property tuples defined by classes that extend it. The project page is http://code.google.com/p/uniquemodel
I fear that although I've tested this implementation, I may be overlooking something major. This is a very nontrivial thing to write, and I am quite inexperienced with both Python and the App Engine. As such, I'm requesting that anyone who is interested take a look at my code and submit your comments. The code can be read here: http://code.google.com/p/uniquemodel/source/browse/trunk/burns.py An example of the intended usage can be downloaded here: http://uniquemodel.googlecode.com/files/example_app.zip If you do take a peek at it, please submit any issues you find to the issue tracker, and post any comments you have here. If you have no comments or issues, but you do take a look at my code, please let me know -- it'd be nice to know how many eyes I have looking at this. Thanks in advance! Benjamin Burns PS - I'm aware of my lack of conformance to PEP8. I'm working on changing that now. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~----------~----~----~----~------~----~------~--~---
