Hi folks,
I'm trying to expose some of my app's data through a RESTful API and
I'm having some trouble using the POST method.
In this post (http://www.reddit.com/r/programming/comments/g5hxq/
web2py_trunk_has_a_new_restful_api_that_writes_db/) and video Massimo
introduced web2py's RESTful API wit
is a file-
like object and ReportLab's API can act on that.
Is there a similar way to generate these reports with GAE?
Thanks in advance!
---
Tiago Rosa
Field('subject_id', label="Subject",
requires=IS_IN_SET(key, value, zero=None)))
return form[0][0]
It's damn ugly dict/list manipulation and can certainly be improved,
although possibly compromising readability.
Best regards,
Tiago Rosa
On Oct 12, 3:41 am, T
nd I haven't found a way to do this in a sane way. Do
someone have an idea on how to do that elegantly?
Any help will be greatly appreciated.
Thanks in advance!
Best regards,
Tiago Rosa
value = [res[1] for res in sorted(results, key=lambda x: x[2],
reverse=True)]
form = SQLFORM.factory(
Field('subject_id', label="Subject",
requires=IS_IN_SET(key, value,
zero=None)))
return form[0][0]
On Oct 12, 1:15 am, Tiago Rosa w
An even deeper problem: how to do something like that in a GAE
environment? The BigTable-like datastore has a lot of query
restrictions.
On Oct 6, 9:25 pm, Tiago Rosa wrote:
> Hello annet and Massimo!
>
> Thank you very much for your help! I still need some enlightenment
> though
An even deeper problem: how to do something like that in a GAE
environment? The BigTable-like datastore has a lot of query
restrictions.
On Oct 6, 9:25 pm, Tiago Rosa wrote:
> Hello annet and Massimo!
>
> Thank you very much for your help! I still need some enlightenment
> though
-like". Defining the orderby at the
model level seems like a better option, but I can't figure it out yet.
Again, thank you very much for your help!
Regards,
Tiago Rosa
On Oct 6, 2:01 pm, annet wrote:
> Massimo,
>
> > you can pass orderby to IS_IN_DB
>
> To which IS_
Hi folks,
I'll try my best to explain my problem in detail:
I have two tables ("teachers" and "subjects"), and a third one called
"teachers_subjects" that basically describes a many-to-many
relationship between teachers and subjects - a row in this table
indicates that a given subject has been ta
9 matches
Mail list logo