[web2py] Re: Migration issue with appadmin

2010-03-28 Thread Thadeus Burgess
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

[web2py] Re: Migration issue with appadmin

2010-03-28 Thread mr.freeze
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

[web2py] Re: Migration issue with appadmin

2010-03-28 Thread mdipierro
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

[web2py] Re: Migration issue with appadmin

2010-03-28 Thread mr.freeze
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

[web2py] Re: Migration issue with appadmin

2010-03-28 Thread mdipierro
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 nat...@freezable.com wrote: What about just having another link in 'admin/default/site'

Re: [web2py] Re: Migration issue with appadmin

2010-03-28 Thread Thadeus Burgess
The check could be easy, just MD5 the file. It shouldn't upgrade if the file doesn't exist either. However if you are picking what to upgrade, I guess then it doesn't matter *unless you forgot!* I also would like a way to upgrade my web2py version without it updating welcome and examples apps.

[web2py] Re: Migration issue with appadmin

2010-03-28 Thread mdipierro
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