fixed typo in examples page

This commit is contained in:
Massimo
2013-04-02 16:15:26 -05:00
parent e6c58c3c6f
commit 4a7f15bb04
2 changed files with 5 additions and 5 deletions

View File

@@ -1 +1 @@
Version 2.4.5-stable+timestamp.2013.04.02.11.22.13
Version 2.4.5-stable+timestamp.2013.04.02.16.14.35

View File

@@ -47,7 +47,7 @@ Here is a more complex complete application that lets the visitor upload images
``
db=DAL('sqlite://storage.db')
db.define_table('image',
Field('name'),
Field('name', notnull=True),
Field('file','upload'))
``:code_python
@@ -55,10 +55,10 @@ db.define_table('image',
``
def index():
form = SQLFORM(db.image)
if form.process().accepted:
form = SQLFORM(db.image).process()
if form.accepted:
response.flash = 'image uploaded'
return dict(form = form)""",counter=None,_class='boxCode')}}
return locals()
``:code_python
### In View