> > i like to ask the user for his country. So I added a field country to the > auth_user table. but I like it to be a referenz to db.country which I > define later in the db.py file. for some reason I get an error message when > trying to do that. >
Define it as Field('country', 'reference country') instead of Field('country', db.country) -- the latter won't work if db.country hasn't been defined yet. Anthony