I think that can be hard because the user is in this case already
logged in.
The upload page requiers login, then it sends the files to a new page.
So in this stage i dont have the login credentials (password).
/R
On Jun 19, 5:28 am, mdipierro mdipie...@cs.depaul.edu wrote:
you can try using
I'm looking for a way to use AS in a query so that I can rename columns...
so for example:
rows=db().select(db.mytable.date,db.mytable.clicks.sum(),db.mytable.impressions.sum(),groupby=db.mytable.date)
produces
SELECT mytable.date, SUM(mytable.clicks), SUM(mytable.impressions) FROM
mytable
On Jun 18, 2:11 pm, Johann Spies johann.sp...@gmail.com wrote:
TypeError: ldap_auth() got an unexpected keyword argument 'secure'
oops, I forgot to add secure=secure to the inner loop
Will send updated patch now.
F
--~--~-~--~~~---~--~~
You received this
Hi together,
i have a table call projectmember. in there i have a lot of members
which sources frequentlich in the table:
for example:
1 Müller abcdef
2 Mike abcdef
3 Müller
4 Mike hiadsfasdf
5 Tom aködsfjasödf
in my model:
db.projecttasks.projectmemberid.requires=IS_IN_DB(db,
oops, I forgot to add secure=secure to the inner loop
Will send updated patch now.
Thanks. I don't get the same erorr any more. Now I have to figure out how
to use it in the web2py auth-setup. As I said I am a newcomer to web2py -
this is my first site I am building with it.
I will ask
Wonderful to see how web2py keeps getting better and better.
There is a bug in web2py version 1.64.2 for those using
fcgihandler.py.
Lines 261 and 262 of gluon\main.py cause a problem
error_handler = rewriteSymbols.get('error_handler',
None)
if
There must be a way to pass the cookie. If you find a solution let us
know.
On Jun 19, 1:22 am, Trollkarlen robbelibob...@gmail.com wrote:
I think that can be hard because the user is in this case already
logged in.
The upload page requiers login, then it sends the files to a new page.
So
http://groups.google.com/group/web2py/web/google_search_count.tiff
On Jun 18, 10:56 pm, Álvaro Justen [Turicas] alvarojus...@gmail.com
wrote:
The number here is 64.700
On Fri, Jun 19, 2009 at 12:54 AM, Richardrichar...@gmail.com wrote:
I get 61,100
On Jun 19, 1:47 pm, mdipierro
These are different problems. Even you could do as, which you
technically an but it is complicated, would not rename the web2py
column.
You can rename the column without the as.
rows=db(..).select(...)
rows.colnames is a list with the colnames. You can change any element
in this list as you
Are you trying to show last name and fisrt name? Not sure I understand
the question.
On Jun 19, 4:06 am, pk peter.kirch...@youngdesigners.de wrote:
Hi together,
i have a table call projectmember. in there i have a lot of members
which sources frequentlich in the table:
for example:
1
Thanks John,
I am going to fix this in trunk now and repost 1.64.3. later today.
Massimo
On Jun 19, 5:35 am, John Heenan johnmhee...@gmail.com wrote:
Wonderful to see how web2py keeps getting better and better.
There is a bug in web2py version 1.64.2 for those using
fcgihandler.py.
Lines
Hi,
I'm just looking for an appropriate framework for my company.
It should be able to handle even large applications.
I just like that web2py seems very simple but powerful which is plus
point ! All java stuff is a bloated beast - I know it as I am a 6 year
java web developer.
I'm new to
Hi Daniel,
1.
How about custom forms - forms which are independent and are defined
in views but validation just works for them as expected.
Something like
this:http://www.wellbehavedsystems.co.uk/web2py/examples/mvc.html
Is it possible ? Does it work in a current version of web2py ?
yes.
Alvaro and Douglas managed to give the first web2py talk to a major
conference outiside the US:
http://translate.google.com/translate?hl=ensl=ptu=http://fisl.vidanerd.com/palestrasei=oIg7StCaCIvWMJrewbAOsa=Xoi=translateresnum=4ct=result
and their talk seems to be one of the most popular ones.
Would it be possible to pass a session id with the upload url and
manually connect to the session somehow?
On Jun 19, 7:24 am, mdipierro mdipie...@cs.depaul.edu wrote:
There must be a way to pass the cookie. If you find a solution let us
know.
On Jun 19, 1:22 am, Trollkarlen
Yes but I am sure there is a way to pass the cookie in flash.
On Jun 19, 7:58 am, mr.freeze nat...@freezable.com wrote:
Would it be possible to pass a session id with the upload url and
manually connect to the session somehow?
On Jun 19, 7:24 am, mdipierro mdipie...@cs.depaul.edu wrote:
- Fixed some bugs.
- IS_COMPLEX renamed as IS_STRONG
Massimo
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
web2py Web Framework group.
To post to this group, send email to web2py@googlegroups.com
To unsubscribe
It seems to be a bug in flash's FileReference.upload:
http://www.visible-form.com/blog/flash-file-upload-and-session-cookies/
http://swfupload.org/forum/generaldiscussion/383
On Jun 19, 8:11 am, mdipierro mdipie...@cs.depaul.edu wrote:
Yes but I am sure there is a way to pass the cookie in
Yes Massimo, param is a JS variable... Thanks for the note and help it
works fine...
Thank you all for your help on this
Cheers,
Yannick P.
On Jun 18, 12:00 pm, mdipierro mdipie...@cs.depaul.edu wrote:
I assume param is javascript variable, not a Python variable:
##
script
no problem i solved my problem ;)
thanks anywhere
On 19 Jun., 14:28, mdipierro mdipie...@cs.depaul.edu wrote:
Are you trying to show last name and fisrt name? Not sure I understand
the question.
On Jun 19, 4:06 am, pk peter.kirch...@youngdesigners.de wrote:
Hi together,
i have a table
hi,
how can i check this:
i have a table (stand for relation) with this data for example:
1 Müler Project1
2 Mike Project1
3 Müller Project2
4 Den Project 3
i will check that Müller Project1 IS_NOT_IN_DB()
not only one require - i need multiple requirements
how can i solve this?
thanks
Hey, thanks.
One more question:
I can see that performance coming from a default integrated server is
somewhat poor.
I have benchmarked it with apache bench - I mean this included page:
http://127.0.0.1:8000/examples/default/index page.
For my dual core AMD @ 2.1Ghz and ab -c 10 -n 1000
That would be amazing. This will help to enable a very important part
of my app's functionality.
Thank You.
On Jun 18, 8:31 pm, mdipierro mdipie...@cs.depaul.edu wrote:
not easy to do now, but easy to add. I will add this to trunk
tomorrow.
Massimo
On Jun 18, 4:30 pm, Ted G
one more think
in your db.define_table(...) set db.define_table(,migrate=False)
in production. It will also speed things up.
By default you have lots of features up, including sessions. There is
lots of room for speed-up.
Massimo
On Jun 19, 11:21 am, mdipierro mdipie...@cs.depaul.edu
how can I access to the renamed column ?
rows=db().select(db.mytable.date)
print len(rows) # 100
rows.colnames=[a]
print rows[1] # EMPTY
print rows[1].a # ERROR !!
if I do not change the column name I cna print rows[1] and rows[1].date
any ideas ?
Hello web2py experts-
Yesterday the GAE team released a new version of their SDK with
support for a task queue API. I'd like to use this in my web2py app.
Can you recommend how I should proceed? Is it appropriate to try and
create a library in /contrib - something like gql.py? Or is it a
simple
rows[1]._extra['a']
On Jun 19, 11:23 am, Sebastian E. Ovide sebastianov...@gmail.com
wrote:
how can I access to the renamed column ?
rows=db().select(db.mytable.date)
print len(rows) # 100
rows.colnames=[a]
print rows[1] # EMPTY
print rows[1].a
Is it possible to do
select a+b, a/b, 123 from mytable
without using db.executesql ?
thanks
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
web2py Web Framework group.
To post to this group, send email to
yes
a_sum_b=db.mytable.a+db.mytable.b
a_div_b=db.mytable.a/db.mytable.b
rows = db().select(a_add_b,a_div_b)
for row in rows: print row._extra[a_sum_b], row._extra[a_div_b]
does not work on GAE.
Massimo
On Jun 19, 11:33 am, Sebastian E. Ovide sebastian.ov...@gmail.com
wrote:
Is it possible
On 19 June, 16:01, Daniel Guryca dun...@gmail.com wrote:
I can see that performance coming from a default integrated server is
somewhat poor.
'integrated server' = CherryPy/SQLite, right?
What other deployment possibilities could I test ?
ApacheWSGI/PostgreSQL would be a better comparator.
On 19 June, 17:29, Dan danbr...@gmail.com wrote:
Yesterday the GAE team released a new version of their SDK with
support for a task queue API. I'd like to use this in my web2py app.
Can you recommend how I should proceed? Is it appropriate to try and
create a library in /contrib - something
Hello,
This is my first post in the group and I have a simple question:
How to run more then one web2py application in Google App Engine ?
I did a web2py application called init ( it is the default web2py
application / the website of my company and It works fine in GAE, see
in
Yes it is possible and you are doing it the correct way.
The problem is just that there is a bug in your blog app.
ticktes do not work on GAE (yet, but I a patch from Alexey and one
from Hans to make them work).
See what the problem is in the local GAE log.
Massimo
On Jun 19, 12:14 pm,
On Jun 19, 11:21 am, Fran francisb...@googlemail.com wrote:
On 19 June, 17:29, Dan danbr...@gmail.com wrote:
Yesterday the GAE team released a new version of their SDK with
support for a task queue API. I'd like to use this in my web2py app.
Can you recommend how I should proceed? Is it
On Jun 19, 8:27 am, mdipierro mdipie...@cs.depaul.edu wrote:
These are different problems. Even you could do as, which you
technically an but it is complicated, would not rename the web2py
column.
You can rename the column without the as.
rows=db(..).select(...)
rows.colnames is a list
Em Sexta-feira 19 Junho 2009, às 09:53:53, mdipierro escreveu:
Alvaro and Douglas managed to give the first web2py talk to a major
conference outiside the US:
http://translate.google.com/translate?hl=ensl=ptu=http://fisl.vidanerd.co
Changing colnames that have the form table.field is a NO NO. That is
what I was referring to.
colnames that refer to aggregates can be changed. I agree it is not a
good idea anyway.
Massimo
On Jun 19, 3:19 pm, DenesL denes1...@yahoo.ca wrote:
On Jun 19, 8:27 am, mdipierro
I've been doing some of that on my site www.futurelogic.com.
On Jun 18, 9:52 pm, mr.freeze nat...@freezable.com wrote:
I am thinking about creating a community driven snippets site for
web2py users. Is there something like this already besides Alter Ego?
I'm not looking to compete with
Good question!
The requires would have to be against the id field but that is not
possible today, or I just don't see how.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
web2py Web Framework group.
To post to
Sure! What's one more place to look for documentation??
Or maybe we could fix the wiki site and post snippets there?
On Jun 18, 6:52 pm, mr.freeze nat...@freezable.com wrote:
I am thinking about creating a community driven snippets site for
web2py users. Is there something like this
I like the pace of new releases of web2py, but it is a pain to
download each one (the Windows distribution takes an hour on my
connection if I am lucky). Given that each new release has normally
changed only a few files, would it be realistic to provide a small
'upgrade' distribution from the
I don't know about the future development plan for Auth.
As I understand the current behavior, anyone change register for an
account. In fact, a logged-in user cannot register another user.
This arrangement is appropriate for some applications, but not for
others.
For example, my current
hmmm just got an internal error on first access to futurelogic (ok on
second attempt)
On Fri, Jun 19, 2009 at 5:46 PM, dlypka dly...@gmail.com wrote:
I've been doing some of that on my site www.futurelogic.com.
On Jun 18, 9:52 pm, mr.freeze nat...@freezable.com wrote:
I am thinking
By the end of july there will be auto upgrade. ;-)
On Jun 19, 6:43 pm, Eddie Eyles ho...@heddonsgate.co.uk wrote:
I like the pace of new releases of web2py, but it is a pain to
download each one (the Windows distribution takes an hour on my
connection if I am lucky). Given that each new
Currently you have two options:
1)
auth.registration_requires_approval = True
users can register but not login until there is admin approval
2)
def user():
self.settings.actions_disabled.append('register')
return dict(form=auth())
@auth.requires_membership('admin')
This wouldn't be a place for official documentation...more a place for
users to post 'slices' of code that fill in specific gaps we find
during real world implementations of web2py sites. The domain is
web2pyslices.com! (just a placeholder right now) I would love
feedback on how the community
This capability is quite recent I think?
I wasn't documented in the version from early June 09, and is
definitely not in the pdf documentation I got from Lulu.
It there someway to get the update full documentation when it becomes
available?
BTW, thanks for a great framework. It's some easy
Yes this is recent. Lats month or so.
I am spending the next 3 week to update the documentation and I will
be available on lulu asap.
I will add some slides to the scribd document about this.
Massimo
On Jun 19, 8:30 pm, NeonGoby luke...@earthlink.net wrote:
This capability is quite recent I
Peter made a very nice logo for web2py:
http://groups.google.com/group/web2py/web/logo.pdf
What do you think?
Massimo
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
web2py Web Framework group.
To post to this
very nice
Perhaps a different font would be better given the curve direction on
the logo part, perhaps this font:
http://new.myfonts.com/fonts/exljbris/museo/ (museo 300, 500, 700 are free
- the 700 might have nice curves to match...)
There's also some other fonts I've seen w/
On Jun 19, 9:44 pm, mdipierro mdipie...@cs.depaul.edu wrote:
Yes this is recent. Lats month or so.
I am spending the next 3 week to update the documentation and I will
be available on lulu asap.
I will add some slides to the scribd document about this.
Massimo
Can we get a discount on
Let me finish it first and then we'll discuss it. It depends on the
agreement I reach with the editor. Packt is interested but if I go
with them the PDF version will jump up to ~$30. The only way to keep
it low is if I retain copyright.
Massimo
On Jun 19, 9:19 pm, RyeBread rwburc...@yahoo.com
On Sat, Jun 20, 2009 at 09:47, mdipierromdipie...@cs.depaul.edu wrote:
Peter made a very nice logo for web2py:
http://groups.google.com/group/web2py/web/logo.pdf
What do you think?
simple and clean ;-)
but...
- font is not perfect, not web2py's feeling
- icon is like some education group,
OK, you're right, it's an interesting issue, even though uncovered by
a naive question. As a matter of fact, at first glance of web2py many
months ago I was curious why it didn't use python's logic operators in
the db query string. This is indeed a rare occurrence of pythonic
inconsistency and
54 matches
Mail list logo