What I have done:
db.define_tabel("mytable", Field("message"))
"message" is not allowed as name for a field and I get "An error occured,
please reload the page"
Now I reload db.py and I want to change "message" to "mymessage". But I
cann't: the error message appears faster than I could edit db
I hope the question is not clear. The purpose is to reduce band with by
making the browser store the static css, js files and use them in further
calls to the page. When version number is changed the browser will again
fetch the new static files and store them. This is in the book by the
captio
The book seems pretty clear about the call to use to start a recurring
task.
What I am not clear on is the best way to invoke this code so that only one
copy of the task is created (assuming the scheduler machinery will handle
making sure that it keeps recurring).
- Scott
--
Resources:
- h
Question, how to get the list of drop down menu from request.vars using
manual form as in the book example (chapter 7) below.
If I do the followiing. I get the input values via request.vars but it
doesn't work for the drop down.
All
Option 1
Option 2
Option 3
Option 4
Really weird. I have reproduced the problem from Turkey too. I am no
network expert but they would better check security / firewall software
running at any tier if applicable. Good luck.
On Wednesday, August 17, 2016 at 2:08:00 AM UTC+3, Lisandro wrote:
>
> I'm having this strange problem, and I
Thank you Anthony, that was the problem.
Il giorno domenica 21 agosto 2016 16:10:51 UTC+2, Anthony ha scritto:
>
> If you have updated the web2py.js file along with your framework update,
> then note that the new flash class is "w2p_flash", not just "flash".
>
> Anthony
>
> On Saturday, August 20
If you have updated the web2py.js file along with your framework update,
then note that the new flash class is "w2p_flash", not just "flash".
Anthony
On Saturday, August 20, 2016 at 9:58:10 AM UTC-4, Gael Princivalle wrote:
>
> Hello.
>
> I would like to have more info about how web2py add the i
This may be tricky, as the Auth system is designed assuming passwords will
be used. You'll probably have to create your own login and registration
actions instead of using those provided by Auth. You can use
auth.login_bare instead to log someone in, though you may need to give
everyone a non-e
Why does it matter? Most likely the user wouldn't know to go to the .load
URL, and even if they did, they will simply view a poorly formatted version
of what they can already see elsewhere. If the action needs to be protected
via authentication, then decorate it with an Auth decorator, as any ot
Hello.
I'm trying to use Bootstrap 3 datepicker.
http://eonasdan.github.io/bootstrap-datetimepicker/
Edward have already use it:
https://groups.google.com/d/topic/web2py/ZRS6PN-Ais4/discussion
I use it for datetime, the result in the input is like:
03/09/2016 14:00
The form returns me an error a
Hi Edward.
I'm trying also to use Bootstrap 3 datepicker.
http://eonasdan.github.io/bootstrap-datetimepicker/
I use it for datetime, the result in the input is like:
03/09/2016 14:00
The form returns me an error as it need also the seconds like:
03/09/2016 14:00:00
The seconds for this applicati
still on the same page of the web2py book
requires = IS_UPLOAD_FILENAME(extension='pdf')
best regards,
stifan
--
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)
Yes.
Ok adding this code it works:
{{if form_new_event.errors.event_datetime:}}
{{=form_new_event.errors.event_datetime}}
{{pass}}
If it's not ne
Thank you Annet. What should I do for pdf?
On Saturday, August 20, 2016 at 5:53:18 PM UTC+5:30, Annet wrote:
>
> Use the IS_IMAGE() validator
>
> http://web2py.com/books/default/chapter/29/07/forms-and-validators#IS_IMAGE
>
>
> requires = IS_IMAGE(extensions=('jpg', 'png'))
>
>
>
>
> Kind regards,
How would you do it?
--
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 Groups
"web2py-us
Hi all,
I am trying to generate pdf using pdfinvoice. The invoice is being
generated and presented in the view.
I am wondering, how can I customise the layout of the invoice? Is the
layout linked with generic.pdf or some other template?
What's the best way to make a better layout? Can I use a ht
Hello.
In the book we see:
We can access it at the URL
1
http://127.0.0.1:8000/test/comments/post.load
But in production I do not want user to access this directly! It must be
callable only from template {{=LOAD}}
How must I restrict this, by webserver (apache deny, for example) rules?
Or
17 matches
Mail list logo