[form] fix #719285, due to multiple calls to restore_previous_post, by proper refactorings
* move __init__ code from FieldsForm to Form. Must behaviour here should actually be in the Form base class
* avoid buggy duplicated call to restore_previous_post
* move some code that was in the form renderer to the form'__init__ method (__redirectpath & __form_id hidden input handling))
* 'formvid' should now be specified on form selection, not on form rendering
application: %(appname)s
version: 0-1
runtime: python
api_version: 1
handlers:
- url: /admin/.*
script: $PYTHON_LIB/google/appengine/ext/admin
login: admin
- url: /data
static_dir: cubes/shared/data
- url: /fckeditor
static_dir: fckeditor
- url: /_load
script: loader.py
login: admin
- url: .*
script: main.py
# comment the line below to allow anonymous access or if you don't want to use
# google authentication service
login: required
skip_files: |
^(.*/)?(
(app\.yaml)|
(app\.yml)|
(index\.yaml)|
(index\.yml)|
(#.*#)|
(.*~)|
(.*\.py[co])|
(.*\.xcf)|
(.*\.asp)|
(.*\.aspx)|
(.*\.cfm)|
(.*\.po)|
(.*/RCS/.*)|
(\..*)|
(.*ChangeLog)|
(.*README)|
(.*TODO)|
(.*DEPENDS)|
(.*MANIFEST)|
(.*MANIFEST.in)|
(.*setup\.py)|
(.*,cover)|
(.*\.orig)|
(.*/test/.*)|
(.*/tests/.*)|
(.*/bin/.*)|
(.*/build/.*)|
(.*/debian/.*)|
(.*/doc/.*)|
(.*/skins/office2003/.*)|
(.*/editor/skins/silver/.*)|
(.*/editor/filemanager/.*)|
(.*/editor/plugins/.*)|
(.*/editor/images/smiley/.*)|
(.*/editor/.*spellerpages.*)|
(.*/docutils/writers/s5_html/.*)|
(.*/docutils/writers/latex2e/.*)|
(.*/docutils/writers/newlatex2e/.*)|
(.*/docutils/writers/pep_html/.*)|
(bin/.*)|
(tools/.*)|
(cubicweb.*/data/.*\.js)|
(cubicweb.*/data/.*\.css)|
(cubicweb.*/data/.*\.png)|
(cubicweb.*/data/.*\.gif)|
(cubicweb.*/data/.*\.gif)|
)$