But this request.vars.category, i have to ryt it in the view and then pass
it to then action via my script, or i directly write it on the action ?
Because in both case, the value he show is none ...
Le jeudi 11 mai 2017 15:51:36 UTC+2, sunda...@gmail.com a écrit :
>
> Hello,
>
>
> Normally and
I have a situation where the "set' in IS_IN_SET(set) is dynamic, and
sometimes will be empty in:
form = SQLFORM.factory(
Field("value", type='string', label=field_name, default=value,
requires=IS_IN_SET(set)),
... more fields ...
)
I would expect that if 'set' is empty, this would always fail v
On Thursday, May 11, 2017 at 6:04:11 PM UTC-7, Dave S wrote:
>
>
>
> On Thursday, May 11, 2017 at 5:26:32 PM UTC-7, Winter Kryz wrote:
>>
>> It doesn't work with "uploads"
>>
>> Anyone know how to show a image which was stored in a database in a pdf
>> file??
>>
>>
>
> I think it's time to sho
On Thursday, May 11, 2017 at 5:26:32 PM UTC-7, Winter Kryz wrote:
>
> It doesn't work with "uploads"
>
> Anyone know how to show a image which was stored in a database in a pdf
> file??
>
>
I think it's time to show more of your controller code that generates the
pdf file.
/dps
>
> El m
On Thursday, May 11, 2017 at 5:05:14 PM UTC-7, Stef Mientki wrote:
>
> Hello,
>
>
>
> 3 years ago I made a web2py site, which has run on a Raspberry Pi without
> any problems since 3 years.
>
> I now want to replace the Raspberry Pi with a Raspberry Pi Zero
> (larger/faster).
>
>
>
> I have
On Thursday, May 11, 2017 at 5:05:09 PM UTC-7, kaungyaz...@gmail.com wrote:
>
> I create one db customer table.I can insert data into the database but i
> dont know how to retrieve data back on the screen.i m using SQLFORM method.
>
The basic answer is that you query the database for the data,
It doesn't work with "uploads"
Anyone know how to show a image which was stored in a database in a pdf
file??
El miércoles, 10 de mayo de 2017, 21:32:38 (UTC-3), Winter Kryz escribió:
>
> Hello everyone,
>
> I'm doing a report using reportlab and I have a table like this
>
> db.define_table('d
I create one db customer table.I can insert data into the database but i
dont know how to retrieve data back on the screen.i m using SQLFORM method.
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.c
Hello,
3 years ago I made a web2py site, which has run on a Raspberry Pi
without any problems since 3 years.
I now want to replace the Raspberry Pi with a Raspberry Pi Zero
(larger/faster).
I haven't used web2py for 3 years and thought simply installing a new
web2py and moving the applicat
On Wednesday, May 10, 2017 at 3:23:08 PM UTC-7, Dave S wrote:
>
>
>
> On Wednesday, May 10, 2017 at 11:01:18 AM UTC-7, Joe Barnhart wrote:
>>
>> "Invalidate".was supposed to be "onvalidation" before autospell worked
>> its wonder...
>
>
> :-)
>
> I'll see what I can do tonight.
>
> /dps
>
I did
Hello, I have a form that in this moment create one record in the database.
This records represent an event:
db.define_table('evento',
Field('titolo', requires=[IS_NOT_EMPTY()]),
Field('inizio', type='datetime'),
Field('fine', type='datetime'),
OK so changing if form.process().accepted to if form.accepted works for
user registers, if I remove it from if request.args(0)=='profile':
block, it is not triggered.
As far as flash message goes the flash works after user updates profile and
everywhere else on my page but after registration it see
Are you still looking for help on this? If so, please explain what more you
need beyond the answer you accepted on Stack Overflow:
http://stackoverflow.com/a/43682846/440323.
Anthony
On Thursday, May 11, 2017 at 6:51:34 AM UTC-4, mostwanted wrote:
>
> Please someone out there coz I'm pulling ou
In many cases, values are already converted to the appropriate type
automatically (e.g., when doing database inserts). Aside from that, you
could write your own convenience function in a few lines of code, and it
can do exactly what you want (e.g., convert both "True" and "true" to a
boolean).
The value will be in request.vars.category.
On Thursday, May 11, 2017 at 9:51:36 AM UTC-4, sunda.am...@gmail.com wrote:
>
> Hello,
>
>
> Normally and in a lot of tutorials i see the declaration of a form inside
> the controller and onlly {{=form}} inside the view Sadly i am working
> in a b
Please show your code.
On Thursday, May 11, 2017 at 12:28:37 PM UTC-4, Francisco García wrote:
>
> Hello all,
>
> In a service Restful I need to return a dict in the form:
>
> {'response' : {'data' : .}}
>
> The problem is that I can't use 'response' Keyword this way.
> I get the error:
> key
Hello all,
In a service Restful I need to return a dict in the form:
{'response' : {'data' : .}}
The problem is that I can't use 'response' Keyword this way.
I get the error:
keyword can't be an expression
I would like to know if there is a way to do that.
Thank you in advance.
Regards,
Fra
El jueves, 11 de mayo de 2017, 4:10:47 (UTC-3), Brendan Barnwell escribió:
>
>
> number = convert(request.args[1])
>
number = request.args(1, cast=int)
> option = convert(request.vars['option'])
>
I'm not aware of anything in this case.
--
Resources:
- http://web2py.com
- http://web2py.com/
Hello
i have moved my connection to Postgres from sqlite and im facing this issue;
ret = self.get_cursor().execute(command, *a[1:], **b)
ProgrammingError: column "water_flow_log.id" must appear in the GROUP BY clause
or be used in an aggregate function
LINE 1: SELECT water_flow_log.id, water
Hello,
Normally and in a lot of tutorials i see the declaration of a form inside
the controller and onlly {{=form}} inside the view Sadly i am working
in a big website with hundred files and they did like the declaration of
the form with Helpers inside the view. SO, the problem is that wh
Good news you workaroud!
Richard
On Wed, May 10, 2017 at 5:52 PM, George D Elig
wrote:
> I created a view as you suggested. However, when I ran the view in
> SQLForm.grid() I received a web2py error that the 'id' did not exist (which
> is doesn't). As a hack to get around this, I manually creat
No problem... I can't say when Massimo's gonna disclose his new framework,
you have to ask him... But it should be soon as he compromise his self
saying he has one in the pipeline... Keep tune...
:)
Richard
On Thu, May 11, 2017 at 3:49 AM, Muhammad Hashim Malik <
has...@rehmansoft.com> wrote:
>
Please someone out there coz I'm pulling out my hairs at this point:
I want to extract pictures from within a list of elements extracted from
the database and store them inside a JavaScript array for a slide show.
*CONTRLOLLER*
def form1Details():
form=db.compForm(request.args(0))
for
Please someone out there coz I'm pulling out my hairs at this point:
I want to extract pictures from within a list of elements extracted from
the database and store them inside a JavaScript array for a slide show.
*CONTRLOLLER*
def form1Details():
form=db.compForm(request.args(0))
fo
Thank you soo much guys for having answered ... :D do you have also the
solution of sending mails ? since i passe from http to https, the mail isnt
working ( even in the welcome app)
Le mardi 2 mai 2017 18:29:19 UTC+2, sunda...@gmail.com a écrit :
>
> Hello,
> This is actually my first questi
Dear Richard
I know web2py can be used with python3, but, I want to play with web3py and
waiting for that badly. Please dont' mind my restless waiting for new
framework.
Truly,
Malik Muhammad Hashim
*Malik M. Hashim*
PO MCC(East)
+92-300-3754107
On Tue, May 2, 2017 at 8:51 PM, Richard Vézi
Does web2py provide any kind of utility to convert the request args and
vars "intelligently" into regular Python types? Values passed in the URL
or query string will always be received as strings by web2py code, but in
many cases they really need to be converted to other types. In a URL like
27 matches
Mail list logo