So, I am in the process of upgrading Web2py from version 1.67 to
1.89.5. Ouch. One of the things I encountered is that request.vars
will now include a list of duplicate values, rather than a single
value (not a list) as it previously did. For example, our url includes
a _next variable. So does the
I was getting an error when attempting to go to a page that requires
you be logged in, if I was not logged in.
Traceback:
Traceback (most recent call last):
File "/xxx/app/gluon/restricted.py", line 188, in restricted
exec ccode in environment
File "/xxx/app/applications/init/controllers/x
I have a small change I implemented in the requires_login decorator of
Auth, that I wanted to submit for folks to check out, and potentially
be added to Web2Py. How do I go about creating a patch? What format
should it be in? Do I just commit to trunk?
Thanks!
Thanks for the replies everyone!
We are renaming the files with our own naming scheme, so they are
unique, but not random. We don't provide a download function for our
users, so I'm not worried about the download aspect.
Thanks especially to Richard for this!:
"
form = SQLFORM(db.image)
if form.
How can I specify my own filename and upload location for images? I
can't find in the code where it is doing the upload/save/rename
processes.
I have a vague idea that it uses shutil somehow, but I just can't see
where it is being used, or how to interrupt and redirect the process.
Thanks!
--~-
5 matches
Mail list logo