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 the
On Sat, Jun 20, 2009 at 09:47, mdipierro 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, not like techic g
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 wrote:
> On Jun 19, 9
On Jun 19, 9:44 pm, mdipierro 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 the updated Lulu v
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/ somethi
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 gr
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 wrote:
> This capability is quite recent I think?
>
> I wasn't do
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 to
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 th
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')
By the end of july there will be auto upgrade. ;-)
On Jun 19, 6:43 pm, Eddie Eyles 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 release has normally
> ch
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 wrote:
>
> I've been doing some of that on my site www.futurelogic.com.
>
> On Jun 18, 9:52 pm, "mr.freeze" wrote:
> > I am thinking about creating a community
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 applica
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 pre
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" wrote:
> I am thinking about creating a community driven snippets site for
> web2py users. Is there something like this already besides Alter E
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
I've been doing some of that on my site www.futurelogic.com.
On Jun 18, 9:52 pm, "mr.freeze" 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 anyone's efforts, jus
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 wrote:
> On Jun 19, 8:27 am, mdipierro wrote:
>
> > These are different pro
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=en&sl=pt&u=http://fisl.vidanerd.co
>m/palestras&ei=oIg7StCaCIvWMJrewbAO&sa=X&oi=translate&
On Jun 19, 8:27 am, mdipierro 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 with the col
On Jun 19, 11:21 am, Fran wrote:
> On 19 June, 17:29, Dan 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
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, Professio
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 action
On 19 June, 17:29, Dan 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 like gql.py? Or
On 19 June, 16:01, Daniel Guryca 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.
F
--~--~-
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"
wrote:
> Is it possible to do
>
> select a+b, 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 web2py@
rows[1]._extra['a']
On Jun 19, 11:23 am, "Sebastian E. Ovide"
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 # ERROR
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 ma
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
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 wrote:
> I am not sure exa
I am not sure example is a good test. It was not optimized and does
lots of filesystem IO
I suggest make a new app, comment everythink in db.py and remove
internationalization in controller/default.py|index
Then benchmark your app.
Try un-commenting lines and benchmark again.
You should also p
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 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 wrote:
>
>
>
> > I have an ap
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
http://
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
--~
no problem i solved my problem ;)
thanks anywhere
On 19 Jun., 14:28, mdipierro wrote:
> Are you trying to show last name and fisrt name? Not sure I understand
> the question.
>
> On Jun 19, 4:06 am, pk wrote:
>
> > Hi together,
>
> > i have a table call projectmember. in there i have a lot of m
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 wrote:
> I assume param is javascript variable, not a Python variable:
>
> ##
>
>
> var param = 'val
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 wrote:
> Yes but I am sure there is a way to pass the cookie in flash.
>
> On Jun 19, 7:58
On Fri, Jun 19, 2009 at 20:53, mdipierro wrote:
>
> Alvaro and Douglas managed to give the first web2py talk to a major
> conference outiside the US:
>
> http://translate.google.com/translate?hl=en&sl=pt&u=http://fisl.vidanerd.com/palestras&ei=oIg7StCaCIvWMJrewbAO&sa=X&oi=translate&resnum=4&ct=res
- 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
Yes but I am sure there is a way to pass the cookie in flash.
On Jun 19, 7:58 am, "mr.freeze" 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 wrote:
>
> > There must be a way to pass the cook
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 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 wrote:
>
> > I think that can be h
Alvaro and Douglas managed to give the first web2py talk to a major
conference outiside the US:
http://translate.google.com/translate?hl=en&sl=pt&u=http://fisl.vidanerd.com/palestras&ei=oIg7StCaCIvWMJrewbAO&sa=X&oi=translate&resnum=4&ct=result
and their talk seems to be one of the most popular o
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 ?
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 python.
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 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 261 and 262 of
Are you trying to show last name and fisrt name? Not sure I understand
the question.
On Jun 19, 4:06 am, pk 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 Müller abcdef
> 2 Mike abcde
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
http://groups.google.com/group/web2py/web/google_search_count.tiff
On Jun 18, 10:56 pm, Álvaro Justen [Turicas]
wrote:
> The number here is 64.700
>
> On Fri, Jun 19, 2009 at 12:54 AM, Richard wrote:
>
> > I get 61,100
>
> > On Jun 19, 1:47 pm, mdipierro wrote:
> >> It is just me or
>
> >>http:
There must be a way to pass the cookie. If you find a solution let us
know.
On Jun 19, 1:22 am, Trollkarlen 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 in this stage i dont
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 application_error_h
> 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
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,
'projectmem
On Jun 18, 2:11 pm, Johann Spies 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 message because you are subs
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 GR
55 matches
Mail list logo