That's intentional. The idea is that appadmin needs access to all the models in order to be able to manage the whole database. If you don't want that for some reason, I think you should be able to change the name of appadmin.py and appadmin.html to something else (the model execution code specifically checks for a controller named "appadmin").
Anthony On Thursday, March 21, 2013 6:40:09 AM UTC-4, Marin Pranjić wrote: > > If I put a code inside models/controller_name/something.py, it gets > executed when running appadmin. > Tested in 2.2.1 and trunk. > > Marin > -- --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.

