You could return a 307 redirect response, which would instruct the browser
to re-post the data to the new URL, but the browser will then likely prompt
the user to confirm they want to re-post the data. This will likely be
confusing to the user, so should probably be avoided.
If you just need th
You can use this method suggested or PHP
http://stackoverflow.com/questions/5576619/php-redirect-with-post-data
On Saturday, 4 July 2015 06:45:24 UTC-5, Sepehr Mohamadi wrote:
>
> Hi Everybody,
>
> I want to redirect navigation to an outside URL with a POST Method.
>
> I should send payment info
please check your languages file under languages/your_language.py. and
translate it from there.
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
Since we all agree we need to remove or upgrade the "examples" app, I
propose we make a new examples app based on semantic + bootstrap theme and
markmin.js instead of serverside markmin.
So if anybody wants a scaffolding app with semantic instead of bootstrap,
one can simply copy static and lay
Is there any reason why the 'ago' is not translate in
prettydate (gluon/tools.py) ?
*suffix = ' ago'* instead of:
*suffix = '** T(" ago")*
In Danish that will be translated to: 'siden'
Also I can't find the other strings in my language file
T('1 year' + suffix)
T('1 month' + suffix)
etc.
I can
That's an answer, but not a solution. I think I found a workaround. Doing
some final testing and will post again if I get a proper solution.
Picture sharing is one of the fundamental pillars of the web. It's very
disappointing that web2py doesn't have a definitive solution to this (after
3 d
Hi
Iam uing the same settings as yours in db.py. But I got the following
error.
Error 10060: A connection attempt failed.
I wrote the code to send email in script.
## in file /app/private/mail_queue.py
import time
while True:
rows = db(db.queue.status=='pending').select()
for row in ro
Thanku I got the mistake I was doing.
On Fri, Jul 3, 2015 at 1:03 PM, 黄祥 wrote:
> i think you can use logical operator or
> e.g.
> rows = db((db.problem.Duedate == request.now + datetime.timedelta(days =
> 1) ) | (db.problem.Duedate == request.now - datetime.timedelta(days = 1))
> ).select()
>
>
Hi Everybody,
I want to redirect navigation to an outside URL with a POST Method.
I should send payment info to a payment gateway through a POST Method. Then
payment gateway again callback to web2py with results.
I searched everywhere in the Internet, Web2py Book and this forum, but
could not
Hello,
Can any one please help.?
Iam trying to send gmail and got the below error.
WARNING:web2py:Mail.send failure:[Errno 10109] getaddrinfo failed
db.py:
## configure email
from gluon.tools import Mail
mail = Mail()
mail = auth.settings.mailer
mail.settings.server = 'smtp.webfaction.com:25'
Hi,
To solve the first issue try:
form.element(_type='submit').update(_value='Log in', _class='btn btn-gray')
and in your stylesheet style .btn-gray
With regard to your second issue, I added the following lines of code to
the function def formstyle_bootstrap(form, fields): in gluon/sqlhtml
beca
11 matches
Mail list logo