>
> Do you have tested python3?
>
Note, we do have passing tests, at least through Python
3.6: https://travis-ci.org/web2py/web2py
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
-
>
> I can testify that perfomance improoves a lot. Whats lacking for official
> support announcement?
>
I believe support is official -- we just need to make the updates to the
site and documentation.
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
-
On Wednesday, July 18, 2018 at 1:08:24 AM UTC-4, Maurice Waka wrote:
>
> I have two problems;
>
>1. When I successfully submit a form and try to retrieve the text for
>processing in the controller, I tend to get the previously submitted text
>and not the latest.
>
> What do you mean
You're view has this line:
if host_name in myconf.take('domain.name'):
But as the traceback indicated, there is no "domain" section in the
configuration file.
Anthony
On Wednesday, July 18, 2018 at 6:08:14 PM UTC-4, Valdeck Rowe wrote:
>
> Here is the entire user.html file just in case it
I'm on the latest master in Github (2018).
I am currently using the work-around below to fix the issue on all my
pages, simply by putting this line in my layout.html (which all my views
import):
path = window.location.pathname;
$(".web2py_console ").find('form').attr("action", path);
What web2py version are you using?
That was supposedly fixed here: https://github.com/web2py/web2py/pull/569
--
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)
I find SQLFORM.grid search doesn't work on a page with custom request.vars.
Is there a way to fix the grid so it works?
Thanks,
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
-
Here is the entire user.html file just in case it proves helpful:
{{#extend 'layout.html'}}
https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css;
integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u"
crossorigin="anonymous">
#web2py_user_form {
Appconfig.ini
[environment]
type = test_ ; dev_, test_, stage_, prod_
; Admin user
[admin_user]
username = admin
password = password
email= ad...@domain.com
first_name = Admin
last_name= User
auth_groups = super admin, admin, logistics, warehouse
; App configuration
We need to see your appconfig.ini and the line in user.html that is presumably
trying to access a setting from the config object. The error indicates it's not
finding what it's looking for.
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
-
Hi,
I set web2py up on a test server with the app I'd built for UAT purposes.
I had a UAT session with a user without any issues.
Everything has been running fine for a few days and then today when another
user is to login and test, they complain that their password doesn't work.
I go in
Hi,
I set web2py up on a server with the app I built.
I had a UAT session with a user without any issues.
Everything has been running fine for a few days and then today when another
user is to login and test, they complain that their password doesn't work.
I go in reset the password, logout
To add some detail, when values are passed to validators, the validator
returns a tuple like (value, None) or (value, 'error message'), and the
returned value can potentially be transformed by the validator (as in this
case).
Anthony
On Wednesday, July 18, 2018 at 9:51:40 AM UTC-4, Leonel
Nowadays I mostly use web2py's code as my documentation so I simply looked
at the code for IS_EMPTY_OR in:
https://github.com/web2py/web2py/blob/master/gluon/validators.py
Of course I already suspected the problem was there which just comes from
experience using and developing web2py.
--
Thanks
Where did you get it from ?
On Wednesday, July 18, 2018 at 2:57:41 PM UTC+2, icodk wrote:
>
> I have the flowing two field definitions:
> Field('code_1', default='', label=T("Code 1"),
> requires=[IS_EMPTY_OR(IS_NOT_IN_DB(db,
> 'product.code_1',error_message=T('Code 1 already in
>
You need to change your IS_EMPTY_OR from:
IS_EMPTY_OR(IS_NOT_IN_DB(db, 'product.code_1',error_message=T('Code 1
already in use'),ignore_common_filters=False))
To
IS_EMPTY_OR(IS_NOT_IN_DB(db, 'product.code_1',error_message=T('Code 1
already in use'),ignore_common_filters=False), null='')
I have the flowing two field definitions:
Field('code_1', default='', label=T("Code 1"),
requires=[IS_EMPTY_OR(IS_NOT_IN_DB(db,
'product.code_1',error_message=T('Code 1 already in
use'),ignore_common_filters=False)),IS_LENGTH(maxsize=15)]),
Field('code_2', default='',label=T("Code 2")),
17 matches
Mail list logo