> I was thinking, why was appadmin never made part of "admin" ?
Until 2 years django had one admin (loosely speaking the corresponding or web2py appadmin) for all the apps in a project. That was one the major limitations that web2py tried to overcome by making appadmin part of the apps and allow customization per-app. Eventually Django did the same and every app can have its own admin (appadmin). Massimo > > -Thadeus > > On Sun, Mar 28, 2010 at 9:53 AM, mr.freeze <nat...@freezable.com> 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 <mdipie...@cs.depaul.edu> 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" <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 > > athttp://groups.google.com/group/web2py?hl=en. -- 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.