Thank you everyone for your answers, I'm going to use the variable
approach and putting it in the .ini config file. Thanks again!!!
El 28/08/15 a las 17:54, 黄祥 escribió:
please take a look at this discussion too
https://groups.google.com/forum/#!topic/web2py/o_4l95C78sc
best regards,
stifan
I tried it on several views and apps but it didn't work, until I figured
out it might be because of I'm using python anywhere. So yes, I got it to
work on normal desktop web2py. That might actually be the root of my
original problem.
--
Resources:
- http://web2py.com
- http://web2py.com/book
Thanks Anthony.
Before posting the question I tried the same and got syntax error as I
missed the ','
On Friday, 28 August 2015 17:54:05 UTC+5, Anthony wrote:
FORM and SQLFORM are just HTML helpers, so you can add HTML attributes to
them when they are constructed as well:
myform =
Thanks Anthony for your answer.
Yes, I want to show/hide elements dinamically based in values of other
fields, I know I can do this using javascript or css, but I'd like to use
form.element. Is it possible?
Regards.
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
-
Hi guys,
I'm doing a little CMS for my application,
My application can have some posts, so every post should be in a url like
this /application/cms/post/{arg0:postid}/{arg1:the title of the post).
The title of the post i'll not use it, it's just for a more friendly url.
But if the title has
All Python gets executed on the server before the page is returned to the
browser, so it is not possible to use Python to change HTML dynamically in
the browser based on user input. This must be done via JavaScript. However,
you can use the built-in conditional fields functionality (check the
Well you can use etree.tostring and save that. Another alternative is to
put it in cache ram which does not pickle.
--
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
On Saturday, August 29, 2015 at 10:03:42 PM UTC-4, Leonel Câmara wrote:
Well you can use etree.tostring and save that. Another alternative is to
put it in cache ram which does not pickle.
I'd like to avoid serializing out to a string because I'd then have to do
the parsing over again on
Hi Anthony.
I understand. Thanks for telling me about conditional fields, I'll try them.
Regards.
--
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
Just for the record, this works for me {
2.11.2-stable+timestamp.2015.05.30.16.33.24
(Running on Apache/2.4.7 (Ubuntu), Python 2.7.6)}
auth.define_tables(username=False, signature=False)
db.auth_user.last_name.writable = db.auth_user.last_name.readable = False
On Wednesday, December 11, 2013 at
10 matches
Mail list logo