I'm guessing the rewrite will take some time. One thing you can do is to
report any python3 problems you find with web2py while you do it. We'll fix
them.
We've fixed many many python 3 compatibility problems on the last months,
you should be fine.
--
Resources:
- http://web2py.com
- http
Hello,
I give a go over my customized version of plugin_lazy_options_widget.py and
improve it. It includes severals enhancement over the original Kenji
version...
Hope it could serve someone.
Here the github repository :
https://github.com/BuhtigithuB/web2py_lazy_options_widget
Enjoy it.
p
.grid() takes a "formargs" argument, which is a dictionary of arguments to
pass to the grid forms. There are also the more specific "createargs",
"editargs", and "viewargs" arguments, for create, edit, and view forms,
respectively.
Anthony
On Tuesday, March 20, 2018 at 2:09:09 PM UTC-4, Shraby
Hello, I really like the keepvalues option for the form/sqlform objects
where you can pass it to their process/accepts method.
I understand the grid object also has an underlying sqlform, but I do not
understand how to access that in order to use its keepvalues=True option.
Based on my search,
You are returning an empty dict - you need to add those three items to it.
--
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 becau
Anthony,
I'm probably doing something wrong with the view then,
I get an error if I try to call the dict in a view.
{{extend 'layout.html'}}
Watch and Defend
Links:
http://localhost:8081/Hunter/default/foxtel_search";>Show
Foxtel Records {{=get_foxtel_count}}
A dict can have multiple keys, so feel free to return a dict that includes
all three results. Of course, you can also put all three values into a
single object (e.g., a dict, list, or tuple), and then just return that
single object to the view.
Anthony
On Tuesday, March 20, 2018 at 9:59:21 AM
Thanks Dave. I will take a lookt that. The workflow is pretty much the one you
sent. I found a few examples that i was able to follow with some modifications.
OAuth documentation had the best one that followed exactly the same workflow i
needed with the difference that the provider has a predete
Hello,
Trying to get the full count on three different tables. Below is a
sample code. I am only able to call one count at a time. Is it possible to
query all three of these and show them in a view?
def index():
get_foxtel_count=db(db.foxtel_hunter.id > 0).count()
get_lgi_count=d
On Tuesday, March 20, 2018 at 3:49:35 AM UTC-4, anil.a...@capitalfloat.com
wrote:
>
> Hi Anthony ,
>
> We have defined that variable in python controller.py as exmple below.
> Its broadcasted to index file using locals();
>
> *def adhar():*
> * response.view = "angular/adhar/index.html"*
> * retu
Hi Anthony ,
We have defined that variable in python controller.py as exmple below.
Its broadcasted to index file using locals();
*def adhar():*
* response.view = "angular/adhar/index.html"*
* return locals()*
On Thursday, March 15, 2018 at 9:17:17 PM UTC+5:30, Anthony wrote:
>
> On Thursday, M
11 matches
Mail list logo