Hello!
I use search in SQLFORM.grid. If you want to find empty dates, nothing
happens, since the query generated in sqlhtml.py (subquery variable, line
2429) contains "= NULL", while "IS NULL" is correct. Am I doing something
wrong or is this a mistake?
web2py 2.9.12
mySQL 5.6.36
--
Consider it done.
On Thursday, February 20, 2020 at 8:02:45 PM UTC-8, Massimo Di Pierro wrote:
>
> No obvious solution yet but will prioritize this. Would you mind opening
> an issue on github about this?
>
> On Wednesday, 19 February 2020 12:33:32 UTC-8, Carlos Hanson wrote:
>>
>> It looks
do
auth.inject = False
On second thought. This should be default because can be an information
leak issue.
On Thursday, 20 February 2020 07:47:00 UTC-8, Ramos wrote:
>
> this is the result
> [image: image.png]
> of this code . Why do i get user ???
> @action('colors')
> @action.uses( session,
No obvious solution yet but will prioritize this. Would you mind opening an
issue on github about this?
On Wednesday, 19 February 2020 12:33:32 UTC-8, Carlos Hanson wrote:
>
> It looks like table inheritance is affected by the same issue:
>
>
> monster = db.Table(db, 'monster', Field('color'),
I only picked bulma because it is truly js agnostic.
On Tuesday, 18 February 2020 10:03:46 UTC-8, Ramos wrote:
>
> py4web has bulma out of the box
> so i guess buefy is more advisable than vuetify to use with py4web right ?
>
> https://buefy.org/
>
--
Resources:
- http://web2py.com
-
in py4web request is the bottlepy request.
https://bottlepy.org/docs/dev/api.html#the-request-object
There is no now.
You can use datetime.timetime.now()
On Tuesday, 18 February 2020 08:34:51 UTC-8, Maurice Waka wrote:
>
> BUT
> Now I get this:
>
> Field('modified_on', 'datetime',
It will continue fix bugs. I will add new features as long the same
features overlap with py4web.
Honestly web2py has not needed much attention in a while.
I do recommend that people move their apps to py4web simply because I
believe the latter is better.
On Tuesday, 18 February 2020 07:36:24
Can you check which version of pydal you are using?
Need to decide whether to make this the default behavior
On Tuesday, 18 February 2020 03:35:47 UTC-8, Marcello wrote:
>
> Hi Massimo,
>
> Great !
> Now worked fine...
>
> Thanks
>
>
> On Tuesday, February 18, 2020 at 12:22:04 AM UTC-3, Massimo
Think that this will work for sure, I am using something similar
> $(document).ready(function(){
> $(".background2").css("background", "url('{{=URL('static',
> 'images/background.jpg)}}')");
> });
>
>
Well, the code I use is
('body').css({'background-image':'url({{=URL('static','images/%s' %
Maybe you can try with https://domain/static/images/background1.jpg in the
array because you need to get the picture from the server and the URL you are
using does not point to any picture in front side
I think...
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
-
As I know py2web already stores _session_token as jwt, no?
On Thursday, February 20, 2020 at 10:00:00 PM UTC+3, Kevin Keller wrote:
>
> With a Spa the routing is done in Javascript in the Browser.
>
> So Javascript or Vue / React etc need. To check if the user has a access
> or id_token and if
With a Spa the routing is done in Javascript in the Browser.
So Javascript or Vue / React etc need. To check if the user has a access or
id_token and if not redirect to the login page to obtain it.
Doing crud and be able to secure those crud rest routes will be critical
for productivity.
So we
check request.content_type - is that 'application/json' ?
On Thursday, February 20, 2020 at 9:28:43 PM UTC+3, Ramos wrote:
>
> getting this from py4web as an api.
> [image: image.png]
> Is not what i would like to see from a SPA standpoint.
>
> Regards
> António
>
>
> Em qui., 20 de fev. de 2020
getting this from py4web as an api.
[image: image.png]
Is not what i would like to see from a SPA standpoint.
Regards
António
Em qui., 20 de fev. de 2020 às 18:03, Val K escreveu:
> It seems it depends on request.content_type
>
>
It seems it depends on request.content_type
https://github.com/web2py/py4web/blob/e6b3d5e10e15976af153c4a4e6b349a02fe6c2a9/py4web/utils/auth.py#L35
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
-
+1 autoredirect should be an option
--
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
I cant seem to be able set a background image with jQuery using css in
web2py, I have been trying to create a background slide but all i am
getting is white canvas!
I dont know why this is happening!
var images=new Array('images/fairytale.jpg','images/gamaila.jpg',
'images/gathuli.png');
You can press "reload apps" in the dashboard
--
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
this code from the docs...
@action('index')
@action.uses(auth.user)def index():
return {"ok":1}
Here @action.uses(auth.user) tells py4web that this action requires a
logged in user and should redirect to login if no user is logged in.
this redirect is good for an full web2py app.
What
this is the result
[image: image.png]
of this code . Why do i get user ???
@action('colors')
@action.uses( session, db, T, auth.user)
def colors():
return {'colors': ['red', 'blue', 'green']}
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
-
Any time i change controllers.py i have to stop and restart the server. why
??
Regards
--
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
21 matches
Mail list logo