Right.
No worries.
What about a field of type blob?
Will that also accept an uploadfs argument and act the same way?
Or do I have to store it as an upload?
On Mon, Sep 7, 2015 at 10:38 PM, Massimo Di Pierro <
massimo.dipie...@gmail.com> wrote:
> Sorry for the late reply:
>
> pip install fs
>
I do not know but I would recommend using the built-in rocket server on a
raspberrypy or gunicorn or nginx. Not apache. Apache has lots of memory
issue and it will crash your rpy very quickly.
On Monday, 7 September 2015 22:40:59 UTC-5, Chris Armour wrote:
>
> Hello,
>
> I want to use web2py for
can you import it from a normal python shell from the folder where you
defined it? is there a __init__.py in that folder?
On Monday, 7 September 2015 22:40:58 UTC-5, lenin.marti...@metamaxzone.com
wrote:
>
> Im triying import one test module form.py .
>
>Module
>class Form(o
web2admin looks like just what i need to enable a super user to manage user
profiles. however it doesn't seem to be possible to remove the pending
status with web2admin, making it impossible to register user to an
application that requires approval without the web2py admin logging on.
--
Resou
Im triying import one test module form.py .
Module
class Form(object):
def hi():
return 'abc'
my controller
from form import form
but the app generate me one ticket with this error:
ImportError: No module named applications.
Hello all,
I'm learning the inner workings of web2py and try to make a custom
validator called IS_TIME_IN_RANGE (based on the IS_DATE_IN_RANGE
validator).
I saved the next code in :
*www-data/web2py/applications/my_app/modules/customvalidators.py
: *
*from gluon.validators import IS_TIME*
I posted this question online and it seems that it would be useful to post
it here.
tl;dr: I found a work around by creating a symbolic link to matplotlib in
the modules folder.
http://stackoverflow.com/questions/32428845/why-does-matplotlib-not-work-on-a-digitalocean-vps-with-web2py
I've got
Hello,
I want to use web2py for a Raspberry Pi project, but when I try to install
the framework I get:
setting up apache modules
=
Module ssl already enabled
Module proxy already enabled
ERROR: /etc/apache2/mods-enabled/proxy_http.load is a dangling symlink!
ERROR: Module
Sorry for the late reply:
pip install fs
Then on model:
import fs.s3fs
myfs = fs.s3fs.S3FS(bucket, prefix, aws_access_key, aws_secret_key)
db.define_table('image',Field('image','upload',uploadfs = myfs))
which is what you suggest basically. Should work our of the box.
On Sunday, 6 September 20
Thanks for your reply Dave. Sorry I missed it - I have posted a similar
question above where I have listed my model code in the body of the
question.
On Thursday, 3 September 2015 02:04:28 UTC+1, Dave S wrote:
>
>
>
> On Tuesday, September 1, 2015 at 8:48:27 PM UTC-7, Heather Dawe wrote:
>>
>>
Hello there,
I am new to web2py - it is a brilliant framework thank you. I am running
the latest version, defining my models and encountering this error when
attempting to add a record to a table that defines a many-to-many
relationship - when I attempt to add a record to table
ModelInstanceDa
please tried web2py latest version in your local first, after it's running
well then please update the web2py in pythonanywhere
please backup your application first before doing the update and for
pythonanywhere update please check this link
http://www.web2pyslices.com/slice/show/1942/upgrade-web
*9-6-15: *The following code was expecting the scheduler to automatically
start the queued workers:
for dataID in dataIDs:
scheduler.queue_task(ImportData, [dataID], immediate=True,
timeout=100)
# tried without immediate
# tried db.commit() after the loop or e
Thanks for responding. Pythonanywhere.com has 2.9.12 installed. That is
what I have installed on my local host as well. I do not see how to change
versions on the pythonanywhere site.
Peter
On Monday, September 7, 2015 at 1:28:02 AM UTC-4, 黄祥 wrote:
>
> had you already tried the web2py latest v
14 matches
Mail list logo