On Thursday, February 24, 2011 7:39:42 PM UTC-5, stargate wrote: 
>
> Here is a copy of the db.py model 
>
> http://www.p3x984.com/db/db.txt 
>
> Not sure if i am missing something

 
It looks like you're using a custom auth_user table. Did you create it 
yourself or copy it from somewhere? Do you need that custom table, or would 
the default auth_user table suffice?
 
db.auth_user.registration_id.requires = IS_NOT_IN_DB(db, 
db.auth_user.registration_id)
As pbreit suspected, the above line requres unique values for 
registration_id -- so if there's already one empty registration_id (which is 
the default) in the database, trying to insert another one will trigger a 
validation error.
 
Anthony

Reply via email to