[web2py] .gitignore and just backing up one application
Want to get version control right for this one. It will be just one item in the /applications directory, the /applications/init project. Some questions. - Is there any reason to backup more than just /applications/init? I assume it is best simply to note the version of /web2py I'm using and back it up separately, correct (in case of the catastrophe that https://github.com/web2py/web2py/releases becames unavailable) - Is this a good .gitignore assuming I only need to back up /applications/init? # .gitignore sessions/* errors/* *.pyc *.pyo *~ #* *.1 *.bak *.bak2 *.svn *.w2p *.class *.rej *.orig Thumbs.db .DS_Store .pythonhistory LICENSE *.DS_Store logging.conf .idea/* -- 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) --- 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/d/optout.
[web2py] Xml use in python 3.6
Hallo. I created this issue in github but no response so far. "xml() in python 3.6 · Issue #2096 · web2py/web2py" https://github.com/web2py/web2py/issues/2096 -- 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) --- 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/d/optout.
[web2py] "xml() in python 3.6 · Issue #2096 · web2py/web2py" https://github.com/web2py/web2py/issues/2096
"xml() in python 3.6 · Issue #2096 · web2py/web2py" https://github.com/web2py/web2py/issues/2096 -- 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) --- 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/d/optout.
[web2py] Re: union of the records in two sets of rows not working with & operand, Pydal 17.11
This has changed. It was pointed out that & should do and AND/INTERSECTION and | should do an OR/UNION. You should use >>> rows3 = rows1 | rows2" to do the union. On Monday, 18 February 2019 10:47:20 UTC-8, Michael Becker wrote: > > Dear Web2py Team, > > in your web documentation for combining rows it says: > > "You can do union of the records in two sets of rows: > >>> rows3 = rows1 & rows2" > > This worked with PyDal 17.08 where method __and__ of Rows Class in > objects.py was defined as: > > def __and__(self, other): > > records = self.records + other.records > > > In PyDal 17.11 method __and__ of Rows Class in objects.py is defined as: > > def __and__(self, other): > > records = [] > other_records = list(other.records) > for record in self.records: > if record in other_records: > records.append(record) > other_records.remove(record) > > This will return no combination of two recordsets but a logical AND of two > recordsets which is always an empty list if there are no duplicate records > in the two sets. > > Is this intended or is just a 'not' missing to do a real UNION of the > recordsets, removing duplicates? > In this case it would also remain a problem when 'self.records' is shorter > than 'other_records', because you would loose records of 'other_records' > > Please let me know if this will be changed, or if there will be another > recommended way of combining rows. > > Many thanks in advance, > Michael > > > > > > -- 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) --- 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/d/optout.
[web2py] Re: Apache(Debian) unsupported pickle protocol: 3
Can you try delete your sessions? You have have pre-existing sessions created with a different protocol. On Monday, 18 February 2019 10:47:20 UTC-8, Alain Márquez Pérez wrote: > > hello everyone dont know if this is a bug, deployed this app in > Apache(Debian), but developing in Rocket (Windows) and works fine > > Ticket ID > > 192.168.10.20.2019-02-15.14-43-36.8f3f2563-ef80-413b-99bc-a80d3bef76b0 > unsupported pickle protocol: 3 > Versión > web2py™ Version 2.17.2-stable+timestamp.2018.10.06.18.54.02 > Python Python 2.7.9: /usr/bin/python (prefix: /usr) > Rastreo > > 1. > 2. > 3. > 4. > 5. > 6. > 7. > 8. > 9. > 10. > 11. > 12. > 13. > 14. > 15. > 16. > 17. > 18. > 19. > 20. > 21. > 22. > 23. > 24. > 25. > > > > Traceback (most recent call last): > File "/home/www-data/web2py/gluon/restricted.py", line 219, in restricted > exec(ccode, environment) > File "/home/www-data/web2py/applications/Insurfact_Agents/models/db.py", > line 96, in > auth.define_tables(username=False, signature=False) > File "/home/www-data/web2py/gluon/tools.py", line 2091, in define_tables > super(Auth, self).define_tables(username, signature, migrate, > fake_migrate)._table_signature_list > File "/home/www-data/web2py/gluon/authapi.py", line 350, in define_tables > format='%(first_name)s %(last_name)s (%(id)s)')) > File "/home/www-data/web2py/gluon/packages/dal/pydal/base.py", line 590, > in define_table > table = self.lazy_define_table(tablename, *fields, **kwargs) > File "/home/www-data/web2py/gluon/packages/dal/pydal/base.py", line 624, > in lazy_define_table > polymodel=polymodel) > File "/home/www-data/web2py/gluon/packages/dal/pydal/adapters/base.py", > line 798, in create_table > return self.migrator.create_table(*args, **kwargs) > File "/home/www-data/web2py/gluon/packages/dal/pydal/migrator.py", line > 296, in create_table > sql_fields_old = pickle.load(tfile) > File "/usr/lib/python2.7/pickle.py", line 1378, in load > return Unpickler(file).load() > File "/usr/lib/python2.7/pickle.py", line 858, in load > dispatch[key](self) > File "/usr/lib/python2.7/pickle.py", line 886, in load_proto > raise ValueError, "unsupported pickle protocol: %d" % proto > ValueError: unsupported pickle protocol: 3 > > > but tried to deploy an app in apache, got this error > as you see the lines in model.db is related to the creations of Auth > objects, > i would apprecieate any help... > Thanks in advance > -- 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) --- 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/d/optout.
[web2py] Re: Rocket Error after (easy and successful) switch to Python 3
thanks for letting us know. On Monday, 18 February 2019 11:36:05 UTC-8, Yi Liu wrote: > > It may be a problem with my /etc/hosts setup > > I found out that my web2py launch time is slow. Then I read this post: > > https://groups.google.com/forum/#!searchin/web2py/slow$20launch%7Csort:date/web2py/eyBE5JP6I44/5DkQNGqlxGgJ > > So I added my local hostname YiMBPr.local to /etc/hosts. The error is gone. > > I also check my previous web2py profiler log: > > utils.py(getipaddrinfo) takes 10 secs > socket.py(getfqdn) takes 5 secs > > So it is some problem with my network settings. Thanks anyway. > > On Sunday, February 17, 2019 at 10:55:03 PM UTC-8, Yi Liu wrote: >> >> Thanks for reply, Massimo. >> >> Yesterday, it seems it throws this error whenever I load a different app >> (I have three apps), not subsequent actions. >> >> Today, it seems it is fine when I first load an app. After 1-3 refreshes, >> it throws this error. >> >> I checked web2py.log, basically it records the same message. >> >> I checked httpserver.log, all returned 200, no 500 request. >> >> How should I catch this? >> >> On Sunday, February 17, 2019 at 10:36:52 PM UTC-8, Massimo Di Pierro >> wrote: >>> >>> How often? Cany chance you can identify from the logs which http >>> requests causes this? >>> >>> On Sunday, 17 February 2019 22:15:36 UTC-8, Yi Liu wrote: Hi, I switch my server and local macbook web2py to Python 3 successfully without any change to web2py or applications, except minor 2to3 syntax changes. Amazing! On my local macbook, I start to have this error in the terminal. And it seems does not affect anything at the app. All the app loads fine in the browser. I wonder if it is a bug that needs to be fixed. Best, Yi 2019-02-17 22:04:07,033 - Rocket.Errors.Thread-6 - ERROR - Traceback (most recent call last): File "/Users/LaVie/Documents/Python/web2py/gluon/rocket.py", line 1319, in run self.run_app(conn) File "/Users/LaVie/Documents/Python/web2py/gluon/rocket.py", line 1812, in run_app self.environ = environ = self.build_environ(sock_file, conn) File "/Users/LaVie/Documents/Python/web2py/gluon/rocket.py", line 1632, in build_environ request = self.read_request_line(sock_file) File "/Users/LaVie/Documents/Python/web2py/gluon/rocket.py", line 1370, in read_request_line d = sock_file.readline() File "/Users/LaVie/.pyenv/versions/miniconda3-4.3.11/lib/python3.7/socket.py" , line 589, in readinto return self._sock.recv_into(b) ConnectionResetError: [Errno 54] Connection reset by peer 2019-02-17 22:04:07,034 - Rocket.Errors.Thread-6 - ERROR - Tried to send "500 Server Error" to client but received socket error -- 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) --- 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/d/optout.
[web2py] Re: URL function in admin app adds "/_2.17.1/" to path variable
On Monday, February 18, 2019 at 2:58:33 PM UTC-8, xgp.l...@gmail.com wrote: > > Hi, > > Sorry for my ignorance. How do you do that? > Ive been trying without sucess using rewrite module. > > > > Cheers, > > Which webserver are you using? Is it the Rocket webserver that ships with Web2Py, or Apache, or NginX, or IIS? Are you trying to use routes.py? You may not need to. From the book reference that Anthony pointed to, it apears that you can deal with everything in your models (e.g., db.py). The book also has examples for Apache and NginX. I don't see anything in routes.py itself as an example for rewriting, so the support for the model-based handling must be in the response code itself. /dps > El miércoles, 29 de agosto de 2018, 10:37:53 (UTC-5), Anthony escribió: >> >> The admin app uses the built-in static versioning functionality, as >> described here: >> http://web2py.com/books/default/chapter/29/04/the-core#Static-asset-management. >> >> You may need to configure your web server properly to handle those URLs, as >> described in the above link. >> >> Anthony >> >> On Wednesday, August 29, 2018 at 10:08:32 AM UTC-4, Jörg Schneider wrote: >>> >>> >>> After downloading 2.17.1 from Github I get wrong static URLs in the >>> admin application: >>> >>> response.files.insert(0,URL('static','js/jquery.js')) in web2py_ajax.js >>> resolves the URL to
[web2py] Re: Python 3 - Traceback problems
Be good if there could be a new release with this fixed fairly soon as many people seem to be getting going with py3 now and the traceback and cvs imports seem to be the main issues. Donald -- 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) --- 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/d/optout.
[web2py] Re: URL function in admin app adds "/_2.17.1/" to path variable
Hi, Sorry for my ignorance. How do you do that? Ive been trying without sucess using rewrite module. Cheers, El miércoles, 29 de agosto de 2018, 10:37:53 (UTC-5), Anthony escribió: > > The admin app uses the built-in static versioning functionality, as > described here: > http://web2py.com/books/default/chapter/29/04/the-core#Static-asset-management. > > You may need to configure your web server properly to handle those URLs, as > described in the above link. > > Anthony > > On Wednesday, August 29, 2018 at 10:08:32 AM UTC-4, Jörg Schneider wrote: >> >> >> After downloading 2.17.1 from Github I get wrong static URLs in the admin >> application: >> >> response.files.insert(0,URL('static','js/jquery.js')) in web2py_ajax.js >> resolves the URL to
[web2py] Re: Rocket Error after (easy and successful) switch to Python 3
It may be a problem with my /etc/hosts setup I found out that my web2py launch time is slow. Then I read this post: https://groups.google.com/forum/#!searchin/web2py/slow$20launch%7Csort:date/web2py/eyBE5JP6I44/5DkQNGqlxGgJ So I added my local hostname YiMBPr.local to /etc/hosts. The error is gone. I also check my previous web2py profiler log: utils.py(getipaddrinfo) takes 10 secs socket.py(getfqdn) takes 5 secs So it is some problem with my network settings. Thanks anyway. On Sunday, February 17, 2019 at 10:55:03 PM UTC-8, Yi Liu wrote: > > Thanks for reply, Massimo. > > Yesterday, it seems it throws this error whenever I load a different app > (I have three apps), not subsequent actions. > > Today, it seems it is fine when I first load an app. After 1-3 refreshes, > it throws this error. > > I checked web2py.log, basically it records the same message. > > I checked httpserver.log, all returned 200, no 500 request. > > How should I catch this? > > On Sunday, February 17, 2019 at 10:36:52 PM UTC-8, Massimo Di Pierro wrote: >> >> How often? Cany chance you can identify from the logs which http requests >> causes this? >> >> On Sunday, 17 February 2019 22:15:36 UTC-8, Yi Liu wrote: >>> >>> Hi, I switch my server and local macbook web2py to Python 3 successfully >>> without any change to web2py or applications, except minor 2to3 syntax >>> changes. Amazing! >>> >>> On my local macbook, I start to have this error in the terminal. And it >>> seems does not affect anything at the app. All the app loads fine in the >>> browser. >>> >>> I wonder if it is a bug that needs to be fixed. >>> >>> Best, Yi >>> >>> 2019-02-17 22:04:07,033 - Rocket.Errors.Thread-6 - ERROR - Traceback (most >>> recent call last): >>> >>> File "/Users/LaVie/Documents/Python/web2py/gluon/rocket.py", line 1319 >>> , in run >>> self.run_app(conn) >>> >>> File "/Users/LaVie/Documents/Python/web2py/gluon/rocket.py", line 1812 >>> , in run_app >>> self.environ = environ = self.build_environ(sock_file, conn) >>> >>> File "/Users/LaVie/Documents/Python/web2py/gluon/rocket.py", line 1632 >>> , in build_environ >>> request = self.read_request_line(sock_file) >>> >>> File "/Users/LaVie/Documents/Python/web2py/gluon/rocket.py", line 1370 >>> , in read_request_line >>> d = sock_file.readline() >>> >>> File >>> "/Users/LaVie/.pyenv/versions/miniconda3-4.3.11/lib/python3.7/socket.py" >>> , line 589, in readinto >>> return self._sock.recv_into(b) >>> >>> ConnectionResetError: [Errno 54] Connection reset by peer >>> >>> 2019-02-17 22:04:07,034 - Rocket.Errors.Thread-6 - ERROR - Tried to >>> send "500 Server Error" to client but received socket error >>> >>> >>> -- 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) --- 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/d/optout.
Re: [web2py] Re: standalone templates
I did some more refactoring. :-) not sanitizer and helpers (similar to web2py ones) are part of yatl can you provide an example of how to use https://github.com/daxslab/ron On Sunday, 17 February 2019 19:30:59 UTC-8, Carlos Cesar Caballero wrote: > > Awesome!! I will test it ASAP. A colleague and I have been playing with > your idea of a bottle-based framework and it has became a quite good > exercise. So far right now we got this https://github.com/daxslab/ron > > Greetings. > El 17/2/19 a las 9:52 p.m., Massimo Di Pierro escribió: > > Thanks for all your help with templates. > > So far I have posted this: > https://pypi.org/project/yatl/ > and this: > https://github.com/web2py/yatl > > I could use some more help with testing. if we are good we can switch > web2py to use this. > -- > 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) > --- > 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/d/optout. > > -- 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) --- 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/d/optout.
[web2py] Apache(Debian) unsupported pickle protocol: 3
hello everyone dont know if this is a bug, deployed this app in Apache(Debian), but developing in Rocket (Windows) and works fine Ticket ID 192.168.10.20.2019-02-15.14-43-36.8f3f2563-ef80-413b-99bc-a80d3bef76b0 unsupported pickle protocol: 3 Versión web2py™ Version 2.17.2-stable+timestamp.2018.10.06.18.54.02 Python Python 2.7.9: /usr/bin/python (prefix: /usr) Rastreo 1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 11. 12. 13. 14. 15. 16. 17. 18. 19. 20. 21. 22. 23. 24. 25. Traceback (most recent call last): File "/home/www-data/web2py/gluon/restricted.py", line 219, in restricted exec(ccode, environment) File "/home/www-data/web2py/applications/Insurfact_Agents/models/db.py", line 96, in auth.define_tables(username=False, signature=False) File "/home/www-data/web2py/gluon/tools.py", line 2091, in define_tables super(Auth, self).define_tables(username, signature, migrate, fake_migrate)._table_signature_list File "/home/www-data/web2py/gluon/authapi.py", line 350, in define_tables format='%(first_name)s %(last_name)s (%(id)s)')) File "/home/www-data/web2py/gluon/packages/dal/pydal/base.py", line 590, in define_table table = self.lazy_define_table(tablename, *fields, **kwargs) File "/home/www-data/web2py/gluon/packages/dal/pydal/base.py", line 624, in lazy_define_table polymodel=polymodel) File "/home/www-data/web2py/gluon/packages/dal/pydal/adapters/base.py", line 798, in create_table return self.migrator.create_table(*args, **kwargs) File "/home/www-data/web2py/gluon/packages/dal/pydal/migrator.py", line 296, in create_table sql_fields_old = pickle.load(tfile) File "/usr/lib/python2.7/pickle.py", line 1378, in load return Unpickler(file).load() File "/usr/lib/python2.7/pickle.py", line 858, in load dispatch[key](self) File "/usr/lib/python2.7/pickle.py", line 886, in load_proto raise ValueError, "unsupported pickle protocol: %d" % proto ValueError: unsupported pickle protocol: 3 but tried to deploy an app in apache, got this error as you see the lines in model.db is related to the creations of Auth objects, i would apprecieate any help... Thanks in advance -- 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) --- 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/d/optout.
[web2py] SQLFORM grid customization HELPPP
Hello everyone, the SQLFORM.grid customization is very wide(i think is using the ui = ), i need some help with the edit,view Views, by the way im not using the native web2py bootstrap, im using mdbootstrap, i know my problem is related to this, but cant find any info about the grid customization in the views this is my grid... grid = SQLFORM.grid(db1.sometable, _class="table table-striped", create=False, searchable=False, csv=False, formname="text-center border border-light p-5", user_signature=False, ui=dict(widget='', header='', content='', default='', cornerall='', cornertop='', cornerbottom='', button='btn btn-info btn-dark-green p-2 waves-effect waves-light', buttontext='buttontext button', buttonadd='icon plus icon-plus glyphicon glyphicon-plus', buttonback='icon leftarrow icon-arrow-left glyphicon glyphicon-arrow-left', buttonexport='icon downarrow icon-download glyphicon glyphicon-download', buttondelete='fa fa-remove mt-0', buttonedit='fa fa-pencil mt-0', buttontable='icon rightarrow icon-arrow-right glyphicon glyphicon-arrow-right', buttonview='fa fa-info-circle mt-0', ), formstyle='', ) thanks in advance... waiting for your kind help -- 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) --- 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/d/optout.
[web2py] union of the records in two sets of rows not working with & operand, Pydal 17.11
Dear Web2py Team, in your web documentation for combining rows it says: "You can do union of the records in two sets of rows: >>> rows3 = rows1 & rows2" This worked with PyDal 17.08 where method __and__ of Rows Class in objects.py was defined as: def __and__(self, other): records = self.records + other.records In PyDal 17.11 method __and__ of Rows Class in objects.py is defined as: def __and__(self, other): records = [] other_records = list(other.records) for record in self.records: if record in other_records: records.append(record) other_records.remove(record) This will return no combination of two recordsets but a logical AND of two recordsets which is always an empty list if there are no duplicate records in the two sets. Is this intended or is just a 'not' missing to do a real UNION of the recordsets, removing duplicates? In this case it would also remain a problem when 'self.records' is shorter than 'other_records', because you would loose records of 'other_records' Please let me know if this will be changed, or if there will be another recommended way of combining rows. Many thanks in advance, Michael -- 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) --- 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/d/optout.
[web2py] Re: Update web2py manually
On local machine ajax work without 'response.generic_patterns= ...' but without 'response.generic_patterns= ...' don't work proloader but it is not important now, becouse I have tasted it on server too and I got welcome page already. Also I tried: > response.generic_patterns = ['*'] if request.is_local else [] it don't work. In old projects ajax have link https://oas.timacad.ru/old_project_name/name_Ajax but now in current project link is https://oas.timacad.ru/name_Ajax. -- 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) --- 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/d/optout.
[web2py] Re: Update web2py manually
Just for the test open db.py and comment the line 'response.generic_patterns= ...' then try app on local machine -- 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) --- 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/d/optout.
[web2py] Re: Writing time without seconds
Thanks Leonel On Friday, February 15, 2019 at 12:27:17 PM UTC+2, Leonel Câmara wrote: > > You actually have to edit web2py.js in your application and then where you > have: > > $(this).timeEntry({ > spinnerImage: '' > }).attr('autocomplete', 'off'); > > > Change it too > > $(this).timeEntry({ > spinnerImage: '', > showSeconds: false > }).attr('autocomplete', 'off'); > > -- 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) --- 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/d/optout.