I manage to narrow the error little bit more. HTTP method is making the
difference. If I set the form’s method to GET error handler works too. It is
nothing to do with form.process as it has nothing to do with the error itself
(Amending the below comment of mine).
On 31 Jan 2015, at 15:55, M.
I replicate the error easily. Could you please try to change your controller’s
index function to:
def index():
example action using the internationalization operator T and flash
rendered by views/default/index.html or views/generic.html
if you need a simple wiki simply replace
I do not understand the context of your question. In python you can do:
d = datetime.datetime(2015,1,29,11,30,00)
d = d + datetime.timedelta(days = 7)
If a date is in a database you can do the same, you select, add and store
it again. Some databases allow you to do it at the SQL level
good idea:
https://pusher.com/docs/pusher_protocol
how insert same into web2py ?
--
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
Dear Leonel,
I agree that you can do and *should* both. For my web2py projects, I am
BOTH Developer and Administrator, *at* *least initially*, before i hand it
over to my user.
Regarding *my suggestions to improve* the help web2py gives me with the
*Administration
Tasks for my users*, my
javascript is not forbidden in web2py.what do you want to exactly ?
On Saturday, January 31, 2015 at 9:52:23 AM UTC+1, Dmitry Ermolaev wrote:
good idea:
https://pusher.com/docs/pusher_protocol
how insert same into web2py ?
--
Resources:
- http://web2py.com
- http://web2py.com/book
Dear Massimo,
I think I have got the problem. It seems that try_rewrite_on_error in
rewrite.py acts strange when the REQUEST_METHOD is POST. Just to see what
will happen, I patched it to handle a the case and afterwards custom error
handler seems to be working on posts too. Could you please
Hi, does anyone know why web2py does not run on startup using crantab?
(linux machine)
When I call web2py.py normally in terminal it works fine, python web2py.py.
When I put the following command in the crantab it does not run. @reboot
python /root/web2py.py
I've tested to see if the
Hi
I never explained it very well,
Table 1 has products with a with-holding period in days eg. product1 10
days, product2 7 7days etc
Table2 has when, where, completed_date the product was used, it also has a
withholding_until date field
I am trying to get the T2 withholding _until to be
Seems that there are complicated requirements for just a basic internal
message model such as in Facebook and LinkedIn.
Has anyone modeled messages; have ideas on how to do it?
One 1:M idea is to create only one message-body record, and have recipients
use a child table that links to body:
Anthony S
What is the trigger for this update of T2 withholding _until? This will
influence the solution drastically.
Richard D
On Saturday, January 31, 2015 at 8:47:47 PM UTC+1, Anthony Smith wrote:
Hi
I never explained it very well,
Table 1 has products with a with-holding period in
That is perfect, Leonel! Very simple... Can't believe I didn't think of
that on my own lol. Thanks again!
On Saturday, January 31, 2015 at 9:44:29 PM UTC-5, Leonel Câmara wrote:
Here's a real life working example in one of my apps
response.menu = [
(T('Home'), request.controller ==
Hello,
I tried following this example:
http://web2py.com/books/default/chapter/29/05/the-views#MENU
This thread:
https://groups.google.com/forum/#!msg/web2py/Jc2qOVJ-Zws/yLzKdWb-y3cJ
Is there a way in my menu to dynamically change the False to True based on
request? I've tried following the
Hello.
When I use a function from a personal application module, the function is
found when I load the application clicking on the try view button in the
web2py editor.
Bit if I try to load the same page on the application domain,
www.mydomain.com, web2py don't found the function.
Is it a
Here's a real life working example in one of my apps
response.menu = [
(T('Home'), request.controller == 'default' and request.function ==
'index', URL('default', 'index'), []),
(T('Urgent Needs'), request.controller == 'needs', URL('needs',
'index'), []),
(T('Debate'),
Hi,
I am unable to find any information on adding the number of days to a date.
The number of days is stored in a table as a int
Second it where a task is created and a expiry is require using the
completed date of the task + the number of days from the first table.
What is the best way to
Anthony,
No conversation is no column in the entiy table but I expect the field to
be processed like the example in the book:
form = SQLFORM(db.yourtable)
my_extra_element = TR(LABEL('I agree to the terms and conditions'),
INPUT(_name='agree',value=True,_type='checkbox'))
17 matches
Mail list logo