not (db(queryID).update(Filename=request.args(0))) :
> db.userSoftware.insert(user_id
> =auth.user_id,Filename=request.args(0),Release_Date=appVer.id)
>
>
>
> On Mar 21, 1:12 pm, Matthew McNaughton wrote:
> > Thanks for all the help so far! Now that I got the userID and fi
uery = db.userSoftware.user_id == auth.user_id
> if not db(query).update(filename=request.args(0)):
>db.userSoftware.insert(user_id =
> auth.user_id,filename=request.args(0))
> return response.download(request,db)
>
> there is only request.args(0) in your cas
hank you again for all the assistance.
On Sat, 2010-03-20 at 10:42 -0700, mdipierro wrote:
> You can put them in db.py after auth=..., or in a registration
> controller or simply in the user() action. As long as they are
> executed before the registration form runs.
>
> Massimo
>
download function
>
> def download():
> ### log the download, filename is in request.args(0) and user in
> auth.user_id
> return response.download(request,db)
>
>
> On Mar 20, 2:11 am, Matthew McNaughton wrote:
> > Greetings all,
> > I'
Greetings all,
I've read the access control section in book a couple times over, and I
still can't completely figure out authorization. I want to do the
following:
I want to add all newly registered users to a specific group called
"users", which I have already created in auth_groups
I have anothe
Greetings team,
I recently tried to use the layout plugin, but my experience has been
less than stellar. After installing the plug in, and choosing a design
to use, I get a web2py site with only text and no color.
While I would love to get the layout plugin to work, any design would be
good at thi
Not sure if this still helps, but I can confirm to having the same problem
in u Ubuntu with Google chrome as well
On Mar 16, 2010 4:27 PM, "Wes James" wrote:
I took edit_area_full.js and took out the single line of js and put in:
editAreaLoader.iframe_script = '
eld('logo', 'upload', requires=IS_IMAGE()))
apps.application.name.requires = [IS_NOT_EMPTY(), IS_NOT_IN_DB(apps,
apps.application.name)]
On Sat, 2010-03-13 at 10:59 -0800, DenesL wrote:
>
> On Mar 13, 1:15 pm, Matthew McNaughton wrote:
> > Thanks for the quick
Thanks for the quick response. The database holds the actual image not the
URL?
On Mar 13, 2010 1:06 PM, "DenesL" wrote:
On Mar 13, 12:57 pm, Matthew McNaughton
wrote:
> Greetings team,
Hi Matthew and welcome
> I'm fairly new to HTML and WEB2PY and I am having some
Greetings team,
I'm fairly new to HTML and WEB2PY and I am having some problems with
code below. I am trying to write a view that pulls information from a
database, called applications, and displays it on the page.
Specifically, I can't seem to find the syntax for the IMG HTML helper?
Also if I wan
10 matches
Mail list logo