Well if qa is a questions_answered record you can just do qa.question.title
(this will do a select to get the question title).
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
-
You're awesome. Thank you! Web2py is the best!
On Tuesday, October 21, 2014 4:49:15 AM UTC-4, Leonel Câmara wrote:
Well if qa is a questions_answered record you can just do
qa.question.title (this will do a select to get the question title).
--
Resources:
- http://web2py.com
-
Hi!
Do you think it could be a good approach for starting to develop all my
web2py applications with predefined tools such as a logger and a test unit?
https://github.com/manuelep/web2py-new-app
Does anybody has a similar approach to share?
Thank you very mutch
Manuele
--
Resources:
-
Interesting
i would add also Jade and Stylus and Coffeescript
https://github.com/ramstein74/Coffee_Jade_Stylus_inside_web2py
2014-10-21 10:44 GMT+01:00 Manuele Pesenti manuele.pese...@gmail.com:
Hi!
Do you think it could be a good approach for starting to develop all my
web2py applications
Note, qa.question.title will do a recursive select (a separate additional
query for each record), so if you have to loop through all questions, this
could be made more efficient with a join:
rows = db((db.questions_answered.answered_by == auth.user_id)
(db.questions_answered.question
On Tuesday, 23 September 2014 14:50:55 UTC+10, Tim Richardson wrote:
I made a new docroot folder and cloned web2py into it.
So when the site runs for the first time, it attempts to create folders.
There is a permission error because it can't do this.
I looked at the permissions granted
differs in the fact that its not only for recipes
i can see where to find videos, faqs, books etc as listed in the left
Also reviews from users are nice.
Maybe web2py slices does the same thing but its not clear for occasionaly
users/readers
regards
2014-10-20 23:39 GMT+01:00 Dave S
child's play!
Answer to my own question:
==
on the db file, add the following:
def get_index(grid, colname):
return grid.rows.colnames.index(colname)
def apply_title_to_column(grid, title_list, column_number):
for cell,title in zip(grid[2][0][0][2], title_list):
Are you comfortable posting a link to your website so I can see if it also
loads as https on my end?
On Thursday, October 9, 2014 3:33:37 PM UTC-4, clara wrote:
Hello all,
I have used python anywhere to deploy simple web2py applications. In the
last few I updloaded onto pythonanywhere I
Thanks - looks like it was a bad name somewhere. The name came back as an
empty string and was bombing out. Tried a different account and it worked
fine.
-Jim
On Sat, Oct 18, 2014 at 10:03 AM, Leonel Câmara leonelcam...@gmail.com
wrote:
It's possible that one of your mailboxes has a name
According to this Heroku article
https://devcenter.heroku.com/articles/development-configuration#dev-prod-parity,
subtle differences between Postgres and Sqlite may cause hard to
troubleshoot problems when using Sqlite locally and Postgres in production.
Web2py includes a script heroku.py
The app server that ships with web2py is a fork of the Rocket webserver:
https://pypi.python.org/pypi/rocket
It's written in pure python, so all of the security is how python sockets
and so forth is secure (see also the python httpserver module). Ultimately
if you are using web2py for
Dear Alan and Massimo,
First, please look at this site:
*http://www.html5rocks.com/en/tutorials/file/dndfiles/*
It shows how to upload and read multiple files directly using HTML5 *(and
JavaScript)*.
It uses the *File API specification* from W3:
http://www.w3.org/TR/file-upload/
How
13 matches
Mail list logo