[web2py] Navbar auth

2013-08-30 Thread Federico Ferraro
onavbar(**kargs) auth.navbar = nav_bar In the controler : navbar_disable = True But it did not work ... -- -- Federico Ferraro Usuario Linux : 482533. -- -- --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubs

Re: [web2py] Re: Navbar auth

2013-09-01 Thread Federico Ferraro
isable=True) #True or False > does not matter, only if navbar_disable exists > > > On Thursday, August 29, 2013 4:19:04 PM UTC+2, Federico Ferraro wrote: >> >> How to disable auth.navbar for some funtions ? >> >> - I need to create a different layout. &g

Re: [web2py] Re: Datetime Issue error

2013-09-11 Thread Federico Ferraro
t;> >>> File "C:\web2py2\gluon\dal.py", line 1671, in execute >>> >>> >>> >>> >>> return self.log_execute(*a, **b) >>> >>> >>> >>> >>> File "C:\web2py2\gluon\dal.py", lin

Re: [web2py] Re: Menus do not work if i test my app with an android client browser

2013-09-16 Thread Federico Ferraro
more options, visit https://groups.google.com/groups/opt_out. >> > > -- > Resources: > - http://web2py.com > - http://web2py.com/book (Documentation) > - http://github.com/web2py/web2py (Source code) > - https://code.google.com/p/web2py/issues/list (Report Issues) &g

Re: [web2py] Re: If logic in the menu.py model

2013-11-18 Thread Federico Ferraro
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] How requires validations OR logic

2016-10-13 Thread Federico Ferraro
How validate if upload field is IS_IMAGE or pdf document ? Try upload pdf document and validate with : Alumnos.dsalud.requires = [IS_EMPTY_OR(IS_LENGTH(1048576, 1024,error_message=error_img_size)), IS_EMPTY_OR(IS_IMAGE(extensions='png','jpeg','gif','pdf'),error_message=error_img_tipo)), IS_EMPTY

Re: [web2py] call username in query

2013-12-20 Thread Federico Ferraro
google.com/p/web2py/issues/list (Report Issues) > --- > 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.

Re: [web2py] Calling function from view not working

2014-01-02 Thread Federico Ferraro
El ene 2, 2014 1:11 p.m., "Ruud Schroen" escribió: > Hi, > > I want to add a class to the body depending on the controller and function > (like Drupal does for example). > > My function (in db.py): > def get_page_class(): > page_class = 'page-%s-%s' % (request.controller, request.function) >

Re: [web2py] syntax error in code

2014-01-09 Thread Federico Ferraro
form.process().accepted: El ene 9, 2014 7:00 a.m., "kartik murthy" <619.kar...@gmail.com> escribió: > Hi there, > I am building an app to store electrical consumption data . I > have build a database which include three tabled dept,meter and reading. > THe problem that i have encount

Re: [web2py] Re: jsonrpc2? can't get book example working

2014-03-12 Thread Federico Ferraro
stop receiving emails from it, send >>> an email to web2py+unsubscr...@googlegroups.com. >>> For more options, visit https://groups.google.com/d/optout. >>> >> >> > -- > Resources: > - http://web2py.com > - http://web2py.com/book (Documentation)

[web2py] Nginx + Web2py

2014-03-21 Thread Federico Ferraro
File "/home/www-data/web2py/gluon/compileapp.py", line 446, in read_pyc\n raise SystemError(\'compiled code is incompatible\')\nSystemError: compiled code is incompatible\n' p159 Thanks .. -- Federico Ferraro Usuario Linux : 482533. -- -- Resources: - http://web2py.com - http:

Re: [web2py] Nginx + Web2py

2014-03-22 Thread Federico Ferraro
/book (Documentation) > - http://github.com/web2py/web2py (Source code) > - https://code.google.com/p/web2py/issues/list (Report Issues) > --- > You received this message because you are subscribed to the Google Groups > "web2py-users" group. > To unsubscribe from this gr

[web2py] example in book not validate form

2014-08-29 Thread Federico Ferraro
: {{extend 'layout.html'}} {{= T('Nueva Solicitud')}} Apellido: Never passes the validation and always throws errors. Anyone know what I'm doing wrong? -- -- Federico Ferraro Usuario Linux : 482533. -- -- Resources: - http://web2py.com - http://web2py.com/b