Hi, I'm creating a simple User model - like so:
class User(Storm): __storm_table__ = "site_users" id = Int(primary=True) user_name = Unicode() email_address = Unicode() password = Unicode() I'm wanting to make sure that user_name and email_address are unique for each user. Would the easiest way of doing this be to subclass an existing Property class and overide __set__ to add in the validation that way, or is there a simpler way? Thanks, Tim. -- storm mailing list [email protected] Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/storm
