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" <nat...@freezable.com> 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 <thade...@thadeusb.com> wrote: > > > Here is the correct older appadmin.html > > >http://pastebin.com/FT632P1A > > > -Thadeus > > > On Sat, Mar 27, 2010 at 11:35 PM, Thadeus Burgess <thade...@thadeusb.com> > > 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 web...@googlegroups.com. To unsubscribe from this group, send email to web2py+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/web2py?hl=en.