The problem was introduced in 2.9.7. So skip 2.9.7.
--
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 t
Just to clarify your answer
with form = SQLFORM(...) then {{=form}} serializes in HTML but the
corresponding objects exist even if you don't.
with form = JForm then {{=form}} only makes a which JS (provided)
converts to a form. There is no server-side DOM and this make it a lot
faster.
On
Maybe that should read:
*Currently keyed tables are only supported for DB2, MS-SQL, Ingres and
Informix, but others engines CAN be added*.
The biggest hurdle is coming up with the correct syntax to create foreign
key (or table) references in a particular database engine.
Once you have that then
For transformation for display in the grid, SQLTABLE, and read-only form
fields, you can use the "represent" attribute of the field:
db.define_table('mytable',
Field('mytime', represent=lambda v, r: time.strftime('%Y-%m-%d %H:%M:%S'
, time.localtime(v
If you want to make sure the transfo
On Saturday, September 6, 2014 5:30:44 PM UTC-4, Ide wrote:
>
> I like the idea of a slimmed down equivalent of SQLFORM. However, I think
> it should be written to permit client side rendering via js scripts, or
> server side rendering in views; as such the output as json or python
> object/arra
Please test trunk, there is a possible fix although I did not test it.
On Saturday, 6 September 2014 13:36:13 UTC-5, Niphlod wrote:
>
> see https://groups.google.com/d/msg/web2py/9kXd30hW3j0/cKL2vF3B2qcJ
>
> On Saturday, September 6, 2014 7:48:07 PM UTC+2, Encompass solutions wrote:
>>
>> I tried
Same issue :(, as mentioned before, tried testing default apps and my app
and it redirects to admin page.
On Sat, Sep 6, 2014 at 8:14 PM, Luciano Laporta Podazza <
lucianopoda...@gmail.com> wrote:
> Right now! :), I'll get back to you with results.
>
> Cheers.
>
>
> On Sat, Sep 6, 2014 at 8:11 P
Right now! :), I'll get back to you with results.
Cheers.
On Sat, Sep 6, 2014 at 8:11 PM, Massimo Di Pierro <
massimo.dipie...@gmail.com> wrote:
> Possible fix in trunk. Can you help test it?
>
>
> On Saturday, 6 September 2014 06:56:54 UTC-5, Niphlod wrote:
>>
>> ok. it hasn't anything to do w
Possible fix in trunk. Can you help test it?
On Saturday, 6 September 2014 06:56:54 UTC-5, Niphlod wrote:
>
> ok. it hasn't anything to do with the "more security" change. It has to do
> with the new session storage behaviour. Filing an issue right now,
> shouldn't be hard to fix
>
> On Saturday
I admit I haven't looked at this files, but these are my thoughts on the
general concept, so apologies if some of these comments don't directly
reflect your exact proposal.
I like the idea of a slimmed down form generation process on the server,
and there is a trend to greater rendering on the
Dear list,
I am making a query to a database where I have a column which stores
time in unix epoch format (1347517370). Then I use this query in
sqlgrid.form to present results to the user. However, I would like to
convert the epoch format into normal time representation as below:
time.strftime('
I have a html table generated in controller. This table gets rendered. Now
if the user wants more number of rows added to the table, I give a AddRows
button. On the click of AddRows I would like to add rows to the existing
table in the controller with empty cells and render it with the additiona
I'm getting a URL rewrite glitch.
The scenario: web2py running through IIS using wsgi and published as a
virtual IIS application called TEST.
Therefore the resulting URLs will always need to look like
http://localhost/TEST/welcome/... or http://localhost/TEST/admin/...
The following routes.py
Hi to everyone,
I downloaded web2py frame work and run on the web2py default server it is
working fine, but we want that should be run with apache server with some
different url how to do that?
Thanks
Kamal
Research scientist
NRSC, ISRO
--
Resources:
- http://web2py.com
- http://web2py.com/bo
I like the idea of a slimmed down equivalent of SQLFORM. However, I think
it should be written to permit client side rendering via js scripts, or
server side rendering in views; as such the output as json or python
object/array would be ideal.
Personally I prefer python to javascript so would
In my application I would prefer to use Python's *unicode* type for all
string data. In my database I am storing strings as *utf-8* encoded. The
problem is that when I read one of these fields using the DAL, the new
object returned to my application is of type Python *string* rather than
type
I had tried that, but I can not get a route to work that would
automatically redirect me to ?keywords=something
I tried adding it to routes.py but it just ignores everything after the
'?'. Any tips for getting a route to work that redirects me to the keyword
URL?
On Friday, September 5, 2014
Great, fixed on my server now. Thanks!
--
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
I am finding that the delete icon in the admin interface opens the file
(image) or downloads the file (text file) rather than giving the option to
delete. The url seems to be correct, I see the delete function within the
URL.
Does anyone else see this problem?
Thanks.
--
Resources:
- http://
Simonne, I wish to learn about IIS & fastcgi since I use web2py on windows
servers a bit. If you put some notes and the steps, I will write it up to a
draft guide.
On Saturday, 6 September 2014 00:57:46 UTC+10, Niphlod wrote:
>
> we should NOT use this script because:
> - uses apache
> - uses a
Thanks, I think this is a good tip.
On Saturday, 6 September 2014 18:16:59 UTC+10, Joe Barnhart wrote:
>
> File this under "stupid but useful web2py tricks"
>
> I have a database that I need to populate from an ASCII text file. I've
> been tearing my hair out parsing the file and doing all t
see https://groups.google.com/d/msg/web2py/9kXd30hW3j0/cKL2vF3B2qcJ
On Saturday, September 6, 2014 7:48:07 PM UTC+2, Encompass solutions wrote:
>
> I tried graphing my model for a new app I was working on and it just
> jumped back to the admin screen.
> I also trying doing db admin and it did the
>
> I do not use SQLFORM because fixing the html it generates often takes more
> time than to write my own html.
You can write your own completely custom HTML and still use SQLFORM on the
server side to handle validation, database I/O, and CSRF protection. I
would not give up SQLFORM just bec
>
> It is much more clean to write *session.var* than *session['var']* when I
> can, as well as *if session.var* instead of *if hasattr(session, 'var')*,
> and I would like to use this style of coding generally in python, if it can
> remain pythonic.
>
Note, session, request, and response are
Hi!
The whole "pythonic or not pythonic" is silly IMO.
Python gives us freedom. Yes, you can do stupid things, but this feature is
cool and useful, so why not?
And "it's not pythonic" is not an argument at all. They should point out
bad things that could happen.
Maybe there are some bad edge cases
ok. it hasn't anything to do with the "more security" change. It has to do
with the new session storage behaviour. Filing an issue right now,
shouldn't be hard to fix
On Saturday, September 6, 2014 1:23:00 AM UTC+2, Dragan Matic wrote:
>
> +1 Here. It does the same thing to me, 2.9.7 appadmin re
File this under "stupid but useful web2py tricks"
I have a database that I need to populate from an ASCII text file. I've
been tearing my hair out parsing the file and doing all the formatting by
hand for every field, and then inserting the data into the table. What a
joy to find "validat
On Sat, Sep 6, 2014 at 9:52 AM, Robin Manoli wrote:
> Great idea!
> I think definitely web2py should be optimized towards ajax and javascript.
>
> I do not use SQLFORM because fixing the html it generates often takes more
> time than to write my own html. I think there are some improvements that
Great idea!
I think definitely web2py should be optimized towards ajax and javascript.
I do not use SQLFORM because fixing the html it generates often takes more
time than to write my own html. I think there are some improvements that
can be done to forms anyway, which can be implemented in a ne
Hey,
It is much more clean to write *session.var* than *session['var']* when I
can, as well as *if session.var* instead of *if hasattr(session, 'var')*,
and I would like to use this style of coding generally in python, if it can
remain pythonic.
I've been looking into using classes to store va
30 matches
Mail list logo