Ok, Obviously I'm doing something wrong as I can't use my website unless I'm logged in.
I have this db
db.define_table('image',
Field('title'),
Field('file', 'upload'),
Field('description', 'text'),
Field('date', 'datetime', default=request.now),
Field('user', default=session.auth.user.username),
Field('rating', default=0))
but the user field will throw errors if the person is not logged in,
even on index when no login is needed. How should I properly recode
this?

