That assumes welcome is installed. Also future apps may not have the same files. Backward compatibility does not mean all scaffolding apps will have the same structure.
Massimo On Mar 28, 10:53 am, "mr.freeze" <[email protected]> wrote: > What about just having another link in 'admin/default/site' ? : > > [ EDIT | about | errors | clean | pack all | compile | uninstall > | upgrade ] > > It could take you to a page that lets you pick things to upgrade: > appadmin.py > appadmin.html > web2py_ajax.html > base.css > jquery.js > etc... > > You could even get fancy and detect if the files are different. > > On Mar 28, 10:23 am, mdipierro <[email protected]> wrote: > > > I agree. It could be done in two steps. > > > 1) when welcome.w2p is built also build web2py.plugin.appadmin.w2p > > which contains models/appadmin.html and views/appadmin.html > > > 2) upgrade whould be done by applying the plugin. > > > Massimo > > > On Mar 28, 9:59 am, "mr.freeze" <[email protected]> wrote: > > > > It might be nice to have an option in admin to 'upgrade' (copy over) > > > appadmin.py and appadmin.html from welcome to your app. > > > > On Mar 28, 1:33 am, Thadeus Burgess <[email protected]> wrote: > > > > > Here is the correct older appadmin.html > > > > >http://pastebin.com/FT632P1A > > > > > -Thadeus > > > > > On Sat, Mar 27, 2010 at 11:35 PM, Thadeus Burgess > > > > <[email protected]> wrote: > > > > > I just upgraded web2py, and have ran into an issue with web2py. > > > > > > Using an older version of appadmin,http://pastebin.com/jSnLT2Ua > > > > > > Traceback (most recent call last): > > > > > File "/home/thadeusb/web2py/gluon/restricted.py", line 173, in > > > > > restricted > > > > > exec ccode in environment > > > > > File "/home/thadeusb/web2py/applications/dolls/views/appadmin.html", > > > > > line 68, in <module> > > > > > {{fieldname=table._primarykey[0]}} > > > > > IndexError: list index out of range > > > > > > Upgrading to the latest appadmin fixes > > > > > this.http://pastebin.com/MFVvyXrW > > > > > > -Thadeus -- You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/web2py?hl=en.

