[web2py] Re: pack all functionality
Thank you !!! this will help me alot. On Tuesday, January 29, 2013 11:37:55 PM UTC-6, Anthony wrote: Keep in mind, admin is just a web2py app, so follow the app code. Start herehttp://code.google.com/p/web2py/source/browse/applications/admin/controllers/default.py#326. Then herehttp://code.google.com/p/web2py/source/browse/gluon/admin.py#46(most of the admin functions are in /gluon/admin.py, so you can use the functions outside of the admin app by importing that module). Anthony On Tuesday, January 29, 2013 11:50:02 PM UTC-5, Hector Magnanao wrote: Can someone point me to where the source code is for the pack all button ? -- --- 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 web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[web2py] Re: pack all functionality
applications/admin/controllers/default.py says def pack(): app = get_app() filename = app_pack(app, request, raise_ex=True) and app_pack is defined in gluon/admin.py On Tuesday, 29 January 2013 22:50:02 UTC-6, Hector Magnanao wrote: Can someone point me to where the source code is for the pack all button ? -- --- 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 web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[web2py] Re: pack all functionality
Keep in mind, admin is just a web2py app, so follow the app code. Start herehttp://code.google.com/p/web2py/source/browse/applications/admin/controllers/default.py#326. Then here http://code.google.com/p/web2py/source/browse/gluon/admin.py#46(most of the admin functions are in /gluon/admin.py, so you can use the functions outside of the admin app by importing that module). Anthony On Tuesday, January 29, 2013 11:50:02 PM UTC-5, Hector Magnanao wrote: Can someone point me to where the source code is for the pack all button ? -- --- 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 web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.