[web2py] authentication fields

2018-02-17 Thread F.C.
I am creating custom forms using the standard authentication sql forms. Where can I get a list of all the relevant fields that come with these forms. For example, for the password, reset I believe that password and password_two can be used to grab the password from the user. What field is

Re: [web2py] Re: How to have a view getting data from a long running time controller ?

2018-02-17 Thread Val K
try encode yield: yield DIV(...).xml().encode('utf-8') On Sunday, February 18, 2018 at 3:36:13 AM UTC+3, Ramos wrote: > > i think i misplaced axios.min.js > > second try and got this error > [image: Imagem inline 1] > and after 3 seconds i got this > > [image: Imagem inline 2] > > > Regards >

Re: [web2py] Re: How to have a view getting data from a long running time controller ?

2018-02-17 Thread António Ramos
i think i misplaced axios.min.js second try and got this error [image: Imagem inline 1] and after 3 seconds i got this [image: Imagem inline 2] Regards António 2018-02-17 22:38 GMT+00:00 Val K : > As I see it's PY3, I tested on PY2. As I know in PY3 all strings are >

Re: [web2py] Re: How to have a view getting data from a long running time controller ?

2018-02-17 Thread Val K
As I see it's PY3, I tested on PY2. As I know in PY3 all strings are unicode, so, It is necessary to dig in this direction On Saturday, February 17, 2018 at 10:46:40 PM UTC+3, Ramos wrote: > > I tried your simple example but when i click on the button i get "Server > Error" above the button >

[web2py] Re: parametric routes

2018-02-17 Thread Anthony
On Saturday, February 17, 2018 at 4:46:59 PM UTC-5, Scorpa wrote: > > Thats reall frustrating because there is no details about parametric and > so i need to use patterns :( > It's not clear what you're talking about. The problem is not a lack of details about the parameter-based system -- the

[web2py] Re: parametric routes

2018-02-17 Thread Scorpa
Thats reall frustrating because there is no details about parametric and so i need to use patterns :( суббота, 17 февраля 2018 г., 22:05:06 UTC+3 пользователь Anthony написал: > > On Saturday, February 17, 2018 at 1:09:28 PM UTC-5, Scorpa wrote: >> >> Unfortunately this gives nothing. >> > > You

Re: [web2py] Re: About Rest API uploads (again)

2018-02-17 Thread Marco Mansilla
Yes, got it. I hace something like: var image = event.target[0]; formData.append('name', image.name); formData.append('myfile', image); axios.post('../services/api/uploads', formData).then(...).catch(...); Params are correctly passed to the server, but files are not uploaded. El 16 feb. 2018

Re: [web2py] Re: How to have a view getting data from a long running time controller ?

2018-02-17 Thread António Ramos
I tried your simple example but when i click on the button i get "Server Error" above the button then in admin i see this [image: Imagem inline 1] any help Regards 2018-02-16 23:48 GMT+00:00 Val K : > Just a very simple example using https://github.com/axios/axios > > > def

[web2py] Re: parametric routes

2018-02-17 Thread Anthony
On Saturday, February 17, 2018 at 1:09:28 PM UTC-5, Scorpa wrote: > > Unfortunately this gives nothing. > You have already been told to check out the pattern-based system for your needs. > Again case is very simple redirect from view named "abc" to controler > "blabla". > It's not even

[web2py] Re: parametric routes

2018-02-17 Thread Scorpa
Unfortunately this gives nothing. Again case is very simple redirect from view named "abc" to controler "blabla". It's not even something unusual. пятница, 16 февраля 2018 г., 19:05:14 UTC+3 пользователь Anthony написал: > > On Friday, February 16, 2018 at 7:03:18 AM UTC-5, Scorpa wrote: >> >>

Re: [web2py] Re: Custom buttons and standard buttons

2018-02-17 Thread Francois Barnard
Thank you so much! On Sat, Feb 17, 2018 at 10:44 AM, Anthony wrote: > On Saturday, February 17, 2018 at 10:57:08 AM UTC-5, F.C. wrote: >> >> How do i change the class of a custom and/or standard form button. Is >> there an example you can reference? Again, thank you for the

Re: [web2py] Re: Custom buttons and standard buttons

2018-02-17 Thread Anthony
On Saturday, February 17, 2018 at 10:57:08 AM UTC-5, F.C. wrote: > > How do i change the class of a custom and/or standard form button. Is > there an example you can reference? Again, thank you for the assistance > To add a class to the submit button: form.custom.submit.add_class('my_class')

Re: [web2py] Re: Custom buttons and standard buttons

2018-02-17 Thread Yi Liu
There is nothing special about form button as one of the html constructors. They all support standard HTML helpers: http://www.web2py.com/books/default/chapter/29/05/the-views#HTML-helpers `_class` generates the class tag You can read more about INPUT here:

Re: [web2py] Re: Custom buttons and standard buttons

2018-02-17 Thread Francois Barnard
How do i change the class of a custom and/or standard form button. Is there an example you can reference? Again, thank you for the assistance On Sat, Feb 17, 2018 at 09:41 Yi Liu wrote: > They are already in default bootstrap style. > > _class='btn btn-primary' > > To

[web2py] Re: Custom buttons and standard buttons

2018-02-17 Thread Yi Liu
They are already in default bootstrap style. _class='btn btn-primary' To customize, you can add your own css file, or edit the form constructor to add a new class, or id , or change to different bootstrap class to specific form button. For example: _class='btn btn-danger' Your browser's web

[web2py] Custom buttons and standard buttons

2018-02-17 Thread F.C.
Quick question. Can someone point me to any guidance on how to change the style of standard form buttons or custom buttons that i added to a form. I want to format them using bootstrap styles. Any help will be appreciated. Also Web2py rocks!!! -- Resources: - http://web2py.com -

[web2py] Re: Trouble with reset password

2018-02-17 Thread Yi Liu
Hi, I reported the lost password issue here: https://github.com/web2py/web2py/issues/1842 It is fixed and will be in next release. On Wednesday, January 24, 2018 at 9:07:04 AM UTC-8, Julian Sanchez wrote: > > I'm having troubles with the reset password functionality and I'm hoping > you guys

[web2py] Re: Just a silly thread to say... thanks to all web2py developers team

2018-02-17 Thread Yi Liu
I cannot agree more. Web2py is so easy to use, and the support here is so genuine, friendly and patient. I wish the developers all the best! On Friday, February 9, 2018 at 1:42:10 AM UTC-8, Jaime Sempere wrote: > > Hi, > > this is gonna sound a littile silly, but I have been wanting to publish