Il 11/09/14 14:22, Pedro Henrique Correa Ferreira ha scritto:
How is the correct way to do that?
This is one possible way:
http://web2py.com/books/default/chapter/29/07/forms-and-validators#Validators-with-dependencies
M.
--
Resources:
- http://web2py.com
- http://web2py.com/book
Il 11/09/14 23:02, Niphlod ha scritto:
btw: a session.forget(response) on top of all, if you don't need the
sessions to be persisted, may be a good idea to improve parallel calls.
How can I improve parallel calls to get better performances?
Thank you
Cheers
Manuele
--
Resources:
-
+1 on Namecheap
On Monday, September 15, 2014 10:16:12 AM UTC-4, Anthony wrote:
For non-free certificates, various Comodo, GeoTrust or Thawte resellers
have certificates in the 5 to 30 USD per year range (email / domain
verification). If you need business entity verification, prices are
You are welcome!
Richard
On Mon, Sep 15, 2014 at 3:45 PM, Jan Beilicke jan.beili...@gmail.com
wrote:
I chose approach B and it works fine. Thanks for mentioning drop downs.
Kind regards,
Jan
Am Donnerstag, 11. September 2014 17:24:40 UTC+2 schrieb Richard:
B will help you filter your
You could also use d3.js with web2py, using geojson and topojson for display.
See d3js.org
--
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
Free SSL Cert for Open Source projects...
https://www.globalsign.com/ssl/ssl-open-source/
On Sunday, September 14, 2014 6:30:45 PM UTC-7, Massimo Di Pierro wrote:
Any recommendation about where to buy a cheat ssl certificate? I have used
RapidSSL before.
--
Resources:
- http://web2py.com
I am testing angularjs with web2py.
In my web2py i have some ajax call that store the html code into a dialog
box.
Now i would like to insert in html code from the callback some angularjs
code.
But because ajax call is not into angular module , the code is not running.
The angular MVC work
I don't know angular, but I don't think you're supposed to just call that
stuff directly, you can use jquery ajax, but you need to put the call in a
Factory or Service or another one of those bullshits angular loves and then
you put it in the scope.
--
Resources:
- http://web2py.com
-
Seems nice!
keep going
On Tuesday, September 16, 2014 2:28:16 PM UTC-5, Encompass solutions wrote:
I am working on a feature for web2py and would like to gather the
following information:
- How long did it take to render html for the page.
- What database calls occured with this
web2py Shell 2.9.5-stable+timestamp.2014.03.16.02.35.39
In [1] : tos = db(db.auth_criteria.toSend ==1).select()
In [2] : tos
Rows (1)
In [3] : for row in tos:
print row.user_id.email
Traceback (most recent call last):
File /Users/LaViez/Documents/Python/web2py/gluon/contrib/shell.py, line
the requires attribute just sets a validator that is called upon form
validation, so it's correct that by itself doesn't produce a link, as you
call it.
Did you try with a simpler model to pinpoint the cause ?
i.e.
db.define_table('auth_criteria',
Field('user_id', 'reference auth_user'),
Why do you need to do it in the controller? Can't you do it in a view?
On Monday, September 15, 2014 3:37:32 AM UTC-7, T.R.Rajkumar wrote:
How to set the _onblur event of an INPUT in controller to a function in
static/js/x.js file?
--
Resources:
- http://web2py.com
-
Thanks a lot, ... Niphlod.
When I do a simpler version, the web shell will give me an error occured,
please reload. when I try: print row.user_id.email. Then I basically have
to restart web2py.py again to get the shell back. Reload won't work.
I am wondering if auth tables has to be logged in
On Tuesday, September 16, 2014 4:05:12 PM UTC-4, Yi Liu wrote:
web2py Shell 2.9.5-stable+timestamp.2014.03.16.02.35.39
In [1] : tos = db(db.auth_criteria.toSend ==1).select()
In [2] : tos
Rows (1)
In [3] : for row in tos:
print row.user_id.email
Traceback (most recent call last):
It's not really what I'm looking for. There are many benefits to the php
documentation way:
1. the comments are where you are looking for help
2. when you are looking for help, and find a solution of your own, you can
post it where you were looking
3. the current documentation is unclear in many
Agreed, but for the most part, if something is truly lacking from the
documentation, it would be best if it could be included in the
documentation itself, rather than in a long list of unorganized comments at
the bottom of the page. You can always make a pull request on the book repo
Maybe submit a Github issue in the book repo requesting this feature.
Anthony
On Tuesday, September 16, 2014 6:12:06 PM UTC-4, Anthony wrote:
Agreed, but for the most part, if something is truly lacking from the
documentation, it would be best if it could be included in the
documentation
Tempted. Feel like an adventure.
--
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
Following your suggestion, I looked up how to use ipython console shell
mode. The key is to load models by -M. Ahah! I hope this -M option could be
documented better in the book. Now I have my friend iPython with me.
Recursive indeed works:
In [5]: rowtosend =
New function suggestion:
Is it possible to return a list of field (column-wise) values without
iterating through the rows? Currently, to get a column of selected rows,
you have to do a for loop to collect them.
It is very convenient to select column in numpy arrays or pandas
dataframes. I
The easiest way to extract a column into a list is using a Python list
comprehension:
rowstosend = db(db.auth_criteria.toSend == 1).select()
mylist = [row.user_id for row in rowstosend]
However, that is not a good option if using recursive selects, because each
row will result in a separate
PythonAnywhere is a friend of web2py and gives you all the information to
host a web2py
server on the website.
Or explain your question better. You don't host PythonAnywhere -
PythonAnywhere hosts you.
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
-
22 matches
Mail list logo