Hi, Uploading files into my table on GAE, when I hit submit I'm presented with a "404 NOT FOUND" error message.
Works fine using Rocket, but not in GAE SDK or when uploaded to GAE. _tables.py - in models db.define_table('file', Field('name', unique=True, compute=lambda r: db.file.file.retrieve(r. file)[0]), Field('file', 'upload'), Field('created_on', 'datetime', default=request.now), Field('created_by', 'reference auth_user', default=auth.user_id), format='%(name)s') admin.py - in controllers @auth.requires_membership("admin") def file(): links = [dict(header='URL', body=lambda row: '/init/default/download/%s' %( db.file.file.retrieve(row.file)[0]))] form = SQLFORM.grid(db.file, links=links, searchable=False, csv=False,user_signature =False) return dict(form=form) Cheers -James -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.