[web2py] Re: How do i get mu download function to download my image with its original name

2020-06-03 Thread mostwanted
Thank you Dave, I'm just seeing you reply today but totally appreciated. On Friday, April 24, 2020 at 8:59:05 AM UTC+2, Dave S wrote: > > > > On Saturday, April 18, 2020 at 8:57:59 AM UTC-7, mostwanted wrote: >> >> I want to download an image but i want it to download with its originally >>

[web2py] Changing my datetime from UTC to local time

2020-06-03 Thread mostwanted
Hi guys has anyone ever tried this solution by Massimo & Nyphold ( http://luca.dealfaro.org/code/web2py-recipes/utc-to-localtime-and-back-in-web2py )? I tried it in my application but I must be missing a step or something because my time is NOT changing or maybe i'm just using it wrong! Because

[web2py] Re: Upgraded to 2.19 and SQL Server date insert throws an error

2020-06-03 Thread Jim S
Can you pinpoint the line in your code that is causing the error? Can you see the SQL statement that is being sent to the server? -Jim On Tuesday, June 2, 2020 at 11:29:27 PM UTC-5, Seth J wrote: > > Yes, same error. 路‍♂️ > > Error ticket for "PubView"Ticket ID > >

[web2py] Re: List | Create | Modify and Delete Users directly from Python controller without using HMI

2020-06-03 Thread Nicolas Hiblot
Hello All, I really don't know if it's possible ! But if it is, could someone please help me to do that ?? Le mardi 2 juin 2020 23:57:31 UTC+2, Nicolas Hiblot a écrit : > > Hello All, > > I have read a lot of cases and uses cases about web2py users. > But my case is a little différent ; >

[web2py] Static files based on authorisation

2020-06-03 Thread James O' Driscoll
I am using webpack to create bundles for my app, controller/function renders a view that’s has a script tag with a src to a bundle in static folder. However I would like only logged in users to be able to access the bundle. I have tried to include the ja file, this works but it slows

[web2py] Re: Upgraded to 2.19 and SQL Server date insert throws an error

2020-06-03 Thread Seth J
I am not sure how to view the query sent to MSSQL. Here's a little more from the error record: - *File C:\inetpub\wwwroot\gluon\packages\dal\pydal\adapters\base.py in insert at line 539* code arguments variables Function argument list (self=, table=, fields=[(,

[web2py] Re: Static files based on authorisation

2020-06-03 Thread Dave S
On Wednesday, June 3, 2020 at 4:13:03 PM UTC-7, James O' Driscoll wrote: > > I am using webpack to create bundles for my app, controller/function > renders a view that’s has a script tag with a src to a bundle in static > folder. > > However I would like only logged in users to be able to

[web2py] Re: List | Create | Modify and Delete Users directly from Python controller without using HMI

2020-06-03 Thread Dave S
On Wednesday, June 3, 2020 at 2:25:39 PM UTC-7, Nicolas Hiblot wrote: > > Hello All, > > I really don't know if it's possible ! > But if it is, could someone please help me to do that ?? > > You want to become familiar with the Auth() tools;

[web2py] Re: Upgraded to 2.19 and SQL Server date insert throws an error

2020-06-03 Thread Dave S
On Wednesday, June 3, 2020 at 2:04:02 PM UTC-7, Seth J wrote: > > I am not sure how to view the query sent to MSSQL. > Does this help/? https://web2py.com/books/default/chapter/29/06/the-database-abstraction-layer#_lastsql> > Here's a little more from the error record: > > >- >

[web2py] Re: Upgraded to 2.19 and SQL Server date insert throws an error

2020-06-03 Thread Seth J
Thanks for pointing the function. But it looks like the error is happening on the Session insert. See below *query* block: - Variables e DataError('22007', '[22007] [Microsoft][ODBC SQL...e from character string. (241) (SQLExecDirectW)') Context locals request session response