Hi all,
I installed red2py and web2py. No mercurial , No psp.
ide2py.ini pointing to web2py server.
((python main.py)) will show ide2py (no files open) and start the
application welcome in a browser.
How can i run and debug welcome application inside ide2py (as in the
screenshots , no mercuria
how complete is the mongodb support ?
approx. when shall it be complete ?
Ah, ok, thanks everyone, that makes sense. I guess I was confused because it
seems like my welcome app never updates.
In my experience mongodb works like DAL so you can just drop DAL and use
mongodb (pymongo) directly. (There may be some other benefits you will miss
out with DAL not sure)
http://api.mongodb.org/python/2.0/tutorial.html
On Sun, Feb 19, 2012 at 1:16 AM, Rinu Boney wrote:
> how complete is the mo
Hi All!
I made a small app (plugin) for checklist with templates.
Templates You can define checklist templates. You should fill only 3 text
field for each template:
1. You should name the template.
2. The actual list of the checklist.
- Section headers
- Check boxes
so i uploaded welcome from 1.99.4 to GAE, running python2.7 multi-threaded,
and hit all the URLS in welcome that i coule (which is not too many), and
here is the play-by-play. The numbers on the left are instance memory size
in MB
45.3 - first page
45.7 - same page, diff URL
45.7 - refresh
45.
DAL in trunk has mongodb support. I am not sure what kind of
functionalities are/are not supported. Give it a try.
On Feb 19, 10:09 am, Bruce Wade wrote:
> In my experience mongodb works like DAL so you can just drop DAL and use
> mongodb (pymongo) directly. (There may be some other benefits you
I am very puzzled by this. I was under he impression nothing persisted
on GAE except for stuff in datastore. web2py for GAE was built under
that assumption. It appears to be not true. If you can find anything
else to narrow down the problem, let us know.
On Feb 19, 11:57 am, howesc wrote:
> so i
On Feb 19, 2012, at 11:41 AM, Massimo Di Pierro wrote:
> I am very puzzled by this. I was under he impression nothing persisted
> on GAE except for stuff in datastore. web2py for GAE was built under
> that assumption. It appears to be not true. If you can find anything
> else to narrow down the pro
i see similar behavior on python2.5, i just did my test on 2.7 as i'm
trying to move my clients that way anyway.
i'm going to do some more digging this afternoon.
On 2/19/12 11:53 , Jonathan Lundell wrote:
On Feb 19, 2012, at 11:41 AM, Massimo Di Pierro wrote:
I am very puzzled by this. I was
Thanks! I didn't know that objects could be callable in Python.
On Feb 17, 10:44 pm, Anthony wrote:
> db is a DAL object, which is callable. Its __call__ method takes a query
> and returns a Set object, which has a select() method for pulling records
> from the database. So, typically, you would
i've learned that i don't know how to figure this out. i tried using the
sys.getsizeof() on globals in various locations in the code and that always
remained constant even while the memory size of the instance changed.
i did notice that by adding the toolbar to the response on
welcome/default/
I'm wondering if there's some kind of way to use a shell or other IDE
to quickly run lines of web2py code and see the result.
For example, just entering db(query).select().first() and being able
to see the result.
I'm learning right now, and it's a little difficult to pick up the
syntax without b
in compileapp there is some weird logic:
if not os.path.split(model)[0] in paths and c!='appadmin':
continue
elif compiled:
code = read_pyc(model)
elif is_gae:
code = getcfs(model, model,
lambda: compile2(read_fi
Yes, you can run a web2py app in a shell. At a shell command line (in the
/web2py folder):
python web2py.py -S app -M -N
The -S tells it to run "app" in a shell. The -M tells it to run the model
files (so once you're in the shell, you'll have access to any objects
defined in your model files,
Hi All,
When I try to upload a file that is greater than 15 MB to a blob data
field, I get the following error from pymysql:
(, AssertionError('Result length not
requested length:\nExpected=21071312. Actual=16777025. Position: 190.
Data Length: 16777215',))
The error is raised from the pee
What you use
python web2py.py -S app -M -N
make sure to db.commit() your changes.
On Feb 19, 5:45 pm, davidkw wrote:
> I'm wondering if there's some kind of way to use a shell or other IDE
> to quickly run lines of web2py code and see the result.
>
> For example, just entering db(query).select(
I am willing to extend the behavior of the autogenerated crud interface
just for one table so that when the dropdown corresponding to a one-to-many
relation is selected
another dropdown should display values corresponding to the chosen one.
In other words i need a dynamic restriction, something
http://blog.curiasolutions.com/the-great-web-framework-shootout/
https://github.com/seedifferently/the-great-web-framework-shootout
I did not see web2py on the list...
Em 20/02/2012 03:03, "pbreit" escreveu:
> http://blog.curiasolutions.com/the-great-web-framework-shootout/
> https://github.com/seedifferently/the-great-web-framework-shootout
>
Hello Web2py lovers,
from past 1 year i am working on web2py in INDIA with zero-group.com,
and also trained many people who's showed interest in web development. In
education many of them looking for training approachability for there brite
career. I liked the way Google started it's own cod
In this post my problem was almost solved, I am left with an args
problem.
I am using the jQuery UI autocomplete. In the controller I have this
function:
def locality_args_autocomplete():
rows=db((db.NodeKeyword.word==request.args(0))&(db.NodeKeyword.nodeID==db.Address.nodeID)&
\
(db.Addres
Hi Alan,
Thanks for your help. I started a new thread for this last post:
http://groups.google.com/group/web2py/browse_thread/thread/b7d702e5c8cb5cdd
Kind regards,
Annet.
In this post:
http://groups.google.com/group/web2py/browse_thread/thread/9886ecbead18a13a/a9ab71c234f0afbb#a9ab71c234f0afbb,
my problem was almost solved, I am left with an args
problem.
I am using the jQuery UI autocomplete. In the controller I have this
function:
def locality_args_autocomplete
Hi Alan,
Thanks for your help. I started a new thread for this last post:
http://groups.google.com/group/web2py/browse_thread/thread/af5664321fb9a9a
Kind regards,
Annet.
Hi Alan,
I am still struggling getting your solution mapped to my problem, I'll
post the entire view, hoping you will provide me with some more clues
to help me get this to work.
{{extend 'initLayout.html'}}
.content {margin: 24px auto 24px; width: 600px;}
.admin a, .admin a:visited {color
On 17 February 2012 19:58, shartha wrote:
> my files should go into the public_html folder that
> resides inside my "/home/domainName/public_html". Give that, should I
> still make a "/var/www" folder?
>
No. You should be able to work in public_html. Use that as the root as
far as your configu
27 matches
Mail list logo