[web2py] Re: Forms not working with web2py in Chrome
I'm running from the source version 1.99.4 from my own python 2.7 installation, Model Code db = DAL(sqlite://storage.sqlite) db.define_table('image', Field('title', unique=True), Field('file', 'upload'), format = '$(title)s') db.define_table('comment', Field('image_id', db.image), Field('author'), Field('email'), Field('body', 'text')) db.image.title.requires = IS_NOT_IN_DB(db, db.image.title) db.comment.image_id.requires = IS_IN_DB(db, db.image.id, '%(title)s') db.comment.author.requires = IS_NOT_EMPTY() db.comment.email.requires = IS_EMAIL() db.comment.body.requires = IS_NOT_EMPTY() db.comment.image_id.writable = db.comment.image_id.readable = False
[web2py] Forms not working with web2py in Chrome
I'm new to web2py and following the book, I'm trying to follow along with the 3rd Chapter building the images application http://web2py.com/books/default/chapter/29/3#An-image-blog, I'm faced with a problem after building the model and trying to add uploads using the database administration, it doesn't work in chrome, after filling the form and clicking submit, the page refreshes with cleared inputs as new. The form works with other browsers as expected (Firefox, Opera, IE) I'm running on Windows 7. Anybody knows what is causing such problem ??
Re: [web2py] Forms not working with web2py in Chrome
The forms page is created by web2py in the database administration page, and I checked the source and it contains no empty hrefs or src
[web2py] Re: Forms not working with web2py in Chrome
the favicon exists and shows just fine