SQL Injection vulnerability here! Instead do:
db(db.tableX.fieldY.contains(something[0])).select()
On Friday, 14 February 2014 16:46:50 UTC-6, NeoToren wrote:
>
> If you need it for running a SQL query using the LIKE operator...the
> following worked for me:
>
> sqlstring = "SELECT * FROM tableX
def index():
form=SQLFORM(db.post).process()
if form.accepted: redirect(URL('download',args=form.vars.file))
return dict(form=form)
def download(): return response.download() # already in scaffolding app!
On Friday, 14 February 2014 18:08:25 UTC-6, HittingSmoke wrote:
>
> I'm build
yes. Should return 1 or 0.
On Friday, 14 February 2014 18:09:46 UTC-6, Kiran Subbaraman wrote:
>
> Hello,
> I was looking at this specific method update_record, and found it to be
> useful. I would like to know what its return values are based on whether
> the update succeeded or failed.
> I r
good catch it's working now
On Friday, February 14, 2014 11:06:39 PM UTC-5, Massimo Di Pierro wrote:
>
> auth.settings.login_catpcha = Recaptcha(request, public_key, private_key)
>
> should be
>
> auth.settings.login_captcha = Recaptcha(request, public_key, private_key)
>
> On Friday, 14 Februar
Is there a way I can migrate the data? I don't know the patterns on how
the directories are stored.
On Tuesday, February 11, 2014 4:04:36 PM UTC+2, Massimo Di Pierro wrote:
>
> uploadseparate does not move data. The system will be unable to find
> existing data unless you move the already uploa
How can I add the register button to the cad login form (page)?
On Thu, Aug 29, 2013 at 11:12 PM, Larry Weinberg wrote:
> I can get the register to redirect as I wanted by adding this to the CAS
> server application's default controller index function:
>
>if session.service_arg:
> re
I need the same functionality for my app. I've checked the trunk but it
doesn't appear to have it implemented.
On Wed, Aug 28, 2013 at 10:24 PM, Larry Weinberg wrote:
>
> It look like trunk gives the same results.
>
>- I create two new apps up casserve and casclient
>- In casclient I cre
I'd like to hear about the pros and cons too.
On Wed, Sep 18, 2013 at 3:42 AM, António Ramos wrote:
> I´m planning on having multiple apps in my web2py server.
>
> I think i should use CAS but seems correct to create a CAS app only for
> that purpose,Authentication.
>
> I tried using some of t
after running the very awesome deployment script to set up
web2py/apache/postgres on ubuntu12.04 LTS,
there is this line
WSGIDaemonProcess web2py user=www-data group=www-data processes=1 threads=1
The web2py book advises to in fact not specify processes and threads, which
then defaults to one p
101 - 109 of 109 matches
Mail list logo