Thank Anthony, logical now you give this simple solution.
Yann
Le jeudi 10 janvier 2019 03:11:15 UTC+1, Anthony a écrit :
>
> Just don't make that check part of your onvalidation function. You can
> add to form.errors at any time, so do it after the validation:
>
> form = SQLFORM(...).process
Hello,
I am surprised, why I am getting an SQL syntax error in 2.17.2 while that
is well working in 2.16.1.
This error getting when I import CSV file form gird.
Has any new SQL reserved Keyword added to Web2py 2.17.2?
Ticket ID
127.0.0.1.2019-01-10.14-01-36.65d7947a-df35-4a9c-89c2-c3575c69821
I would really appreciate it if someone would explain to me in very simple
English & in a very straight & forward manner how to get
*auth.settings.login_next
= URL('function')* to work!
Mine is not working and i have looked at every thread that explains it
particularly this one
https://groups
auth.settings.login_next is just a default -- it is overridden if there is
a _next variable in the URL query string (which will be the case if the
user arrives at login page via the auth.navbar() menu). For options to
change this behavior,
see https://groups.google.com/d/msg/web2py/wKd5QN5R5fs/
Hi,
I want to pass a value to a function for using it in a query
I made links with this code in the calling grid
links = [lambda row: A(T('View flexi
list'),_href=URL(show_flexlist,args=[row.id,0],user_signature=True)),lambda
row: A(T('View flexi
list'),_href=URL(show_flexlist,args=[row.id,
Hello
Is it possible to extend the MARKMIN syntax with two classes?
Web2py version 2.17.2
This works:
``
This text use css card
``:card
Now with two classes, isn't working:
``
This text use css card
``:card.bg-warning
Rendered as:
This text use css card
.bg-warning
Thanks Daniel
--
Reso
Hello there,
my question maybe touches rather how to structure a project probably.
Anyway:
I have an App that lists a portfolio and involves pagination. In order to
avoid the whole page from being loaded every time the next portfolio item
set (page) is called, I am reloading the portfolio compo
Hello,
We are trying to use PyDAL 17.11 on a PostgreSQL database in combination
with falcon on gunicorn. When we instantiate the db connection in the
on_get or on_post methods it is successful. Now we want to minimize the
number of db connections by instantiating the connection in the __init__
i have a image uploaded, how do i recover it on html?
Any 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
I created a image on docker that have web2py
How do i put my application at applications web2py folder?
--
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)
---
Y
Thanks you for your patience Anthony to keep repeating the same thing over
& over for some of us, my code is finally working, I think the magic is
with
*request.vars._next = None*
because right after adding that line everything started happening as it
should, I am able to redirect. Much apprec
Assuming you have used a DAL upload field to upload and store the file, you
can use response.download() to retrieve and return the file.
See http://web2py.com/books/default/chapter/29/04/the-core#response.
The welcome app includes a /default/download action that uses
response.download() for thi
I am using Load function (ajax=False) which creates a div it's using to
load the context in.
Is there an easy way to specify this div to be of a certain class? (I want
to add "d-flex" class to it, to use flex in the html/container I am loading)
--
Resources:
- http://web2py.com
- http://web2p
You can pass in arguments as with other HTML helpers:
LOAD(..., _class='d-flex')
Anthony
On Thursday, January 10, 2019 at 4:05:43 PM UTC-5, Vlad wrote:
>
> I am using Load function (ajax=False) which creates a div it's using to
> load the context in.
>
> Is there an easy way to specify this di
Oh no, I missed that **attr in small print in the signature of Load
Thank you!
On Thu, Jan 10, 2019, 5:14 PM Anthony You can pass in arguments as with other HTML helpers:
>
> LOAD(..., _class='d-flex')
>
> Anthony
>
> On Thursday, January 10, 2019 at 4:05:43 PM UTC-5, Vlad wrote:
>>
>> I am usin
On Wednesday, January 9, 2019 at 6:11:15 PM UTC-8, Anthony wrote:
>
> Just don't make that check part of your onvalidation function. You can
> add to form.errors at any time, so do it after the validation:
>
> form = SQLFORM(...).process(onvalidation=onvalidation)
> if form.accepted:
>
On Thursday, January 10, 2019 at 9:09:41 AM UTC-8, Stephan wrote:
>
> Hello there,
> my question maybe touches rather how to structure a project probably.
> Anyway:
>
> I have an App that lists a portfolio and involves pagination. In order to
> avoid the whole page from being loaded every time
oot, just suggestion since web2py is full stack web framework
*ref:*
https://github.com/kamranahmedse/developer-roadmap
best regards,
stifan
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2
>
> How do i put my application at applications web2py folder?
>
not sure what do you want to achieve
- if you want to distribute your docker image with web2py app inside, must
put your web2py app under applications folder in dockerfile file, so when
the user execute docker run your web2py app
My task I want to believe is fairly simple but something is wrong in my
code, I am attempting to incorporate something I learned from Anthony into
a small idea I have but its going side ways. I have names from a database
displayed as links, what i want is for the details of those names to be
di
On Tuesday, January 8, 2019 at 8:14:27 PM UTC-8, Dave S wrote:
>
> I'd like to ask a couple questions of those of you running a Content
> Management System in conjunction with web2py applications.
>
> 1. What do you consider important in a CMS?
> 2. Who's in charge? (no, not names, what roles
21 matches
Mail list logo