[web2py] Re: Scaling web2py

2012-04-08 Thread Mengu
hi bruce, what are the specs of your web servers and db server/s? what web server are you using and how? On Saturday, April 7, 2012 4:59:20 PM UTC+3, Detectedstealth wrote: Hi, So now that my site has been developed with web2py I am now looking to release it this month. However also

[web2py] what about web2py 2.0?

2011-09-20 Thread Mengu
anything special coming up? will it broke backward compatibility? nobody needs backward compatibility in a major version. are there any plans for a clean up?

[web2py] Re: Good jQuery UI Library

2011-07-16 Thread Mengu
the thing is when you have qooxdoo you don't need anything else. things in web2py_ajax.js not working is not a big deal when you are working with qooxdoo as it has its own libraries. if you guys face a problem with integrating qooxdoo and web2py, i can surely put up a simple application. On Jul

[web2py] Re: Good jQuery UI Library

2011-07-15 Thread Mengu
why qooxdoo would not integrate into web2py? it would fit awesome without any problems. :) On Jul 15, 2:57 pm, Ross Peoples ross.peop...@gmail.com wrote: I have evaluated several UI libraries. ExtJS is the nicest, but you can only use it for open source projects, otherwise you have to buy it.

[web2py] Re: Call functions periodically from WEB2PY at short time basis (like 0.05 ... 5 seconds)

2011-07-04 Thread Mengu
go ahead and use celery. On Jul 4, 3:47 pm, Valter Foresto valter.fore...@gmail.com wrote: It is possible to call from inside WEB2PY a 'short user function' based on time tick periodically (like any 0.05 ... 5 seconds) ? This functionality can be very usefull to collect data from the field

[web2py] Re: normal and lazy virtual field behavior error in 1.96.3

2011-06-18 Thread Mengu
hi szimszon and massimo, i have found out what is the problem. when you append the new virtualfield with db.product.virtualfields.append(MyVirtualFields()) you instantiate it and apply it so for every lazy property, it uses the same MyVirtualFields class pointing to same object in the memory. i

[web2py] Re: normal and lazy virtual field behavior error in 1.96.3

2011-06-18 Thread Mengu
: box[attribute]=method() return self On Jun 19, 4:06 am, Mengu whalb...@gmail.com wrote: hi szimszon and massimo, i have found out what is the problem. when you append the new virtualfield with db.product.virtualfields.append(MyVirtualFields()) you instantiate

[web2py] Re: Any way to prompt for password for sensitive pages?

2011-04-16 Thread Mengu
i'd do that with a decorator which would render a page. On Apr 16, 4:53 am, Brian M bmere...@gmail.com wrote: Is there any easy way to re-prompt the user for their password before displaying certain sensitive pages? Here's what I'm thinking - the user logs in with auth and has access to most

[web2py] Re: Reutilizing/Extending web2py admin panel

2011-04-13 Thread Mengu
blackthorne, you mean like Django admin? On 13 Nisan, 19:31, blackthorne francisco@gmail.com wrote: Well, this is one of things I need the most. Being able to use parts of the web2py admin panel or building something based on it for direct use by clients threw the public web. Is there

[web2py] Re: subdomain auth

2011-04-11 Thread Mengu
are you saving the cookies in cities.ru domain but not per subdomain? On Apr 11, 6:40 pm, LightOfMooN vladsale...@yandex.ru wrote: But that is in all browsers (we try IE, FF, Chrome, Safari). I have seen many sites with subdomain structure, where there are one login for all site structure.

[web2py] Re: web2py DAL, requests, threads and memory

2011-04-06 Thread Mengu
glad you sorted it out. :) On Apr 6, 8:57 pm, Gleb gleb.sternh...@googlemail.com wrote: Goot idea! At the end I did it like that, but a little other way. There is a *request.add_finished_callback* property of the request object, so I extended the DAL object: class Root(DAL):     def

[web2py] Re: web2py DAL, requests, threads and memory

2011-04-05 Thread Mengu
you can create a new request class extending from the original one and via using config.set_request_factory(YourReqClass)and make dal an attribute of it. whenever the request ends, you can close the connection. On Apr 5, 7:29 pm, Gleb gleb.sternh...@googlemail.com wrote: Hi All, I'm building

[web2py] Re: Congratulations to this mailing list

2011-04-04 Thread Mengu
there are so few people in the irc channel, it was just not linked properly On Apr 4, 9:38 am, Mengu whalb...@gmail.com wrote: it's because they beat us on the number of irc users. :) as of april 4, 2011, 10:33 am gmt +2, #django has 289 users, #rubyonrails has 498 users, #web2py has 16

[web2py] Re: New b2b site using web2py

2011-04-04 Thread Mengu
hi, i cannot access http://qakit.com in istanbul, turkey. are you using google app engine? On Apr 4, 8:12 am, JimK jkel...@gmail.com wrote: Hello Everyone! I've been working on a business for some time and have finally launched it!  The web server for the main app and CAS are running on

[web2py] Re: Congratulations to this mailing list

2011-04-04 Thread Mengu
i don't believe that you've said this on purpose yet you would wish something more for web2py. however have you ever joined the django irc room or the mailing list? have you ever seen the questions asked over and over of which answers already said in that -really- great documentation? On Apr 4,

[web2py] Re: we need a few more good people!

2011-03-31 Thread Mengu
i'm still waiting an approval. i'm in turkey. :) On Mar 31, 3:05 am, Massimo Di Pierro massimo.dipie...@gmail.com wrote: http://experts4solutions.com/e4s/default/experts

[web2py] Re: OpenERP like widgets

2011-03-24 Thread Mengu
what exactly do you need and want us to tell about? On Mar 23, 1:47 pm, Indra Gunawan indra.s...@gmail.com wrote: Hi, any idea how to create application (I mean the view, javascript/ajax widget etc) like thishttp://demo.openerp.com/? Using Web2Py off course. OpenERP also build from python:

[web2py] Re: reddit again

2011-03-22 Thread Mengu
it's not provacative, it's attractive. apart from that, i agree with what you said. let's not hijack other frameworks' threads. On Mar 22, 7:27 am, pbreit pbreitenb...@gmail.com wrote: Massimo, sorry to say but I think your posting style invites the unwanted attention (av201001, too). I'm a

[web2py] Re: How using is it to have the redirects shown while in development...

2011-03-21 Thread Mengu
i can think of this being helpful only for logging purposes. On Mar 21, 9:20 am, Jason (spot) Brower encomp...@gmail.com wrote: Now that I am working in Django at my work, I notice that when using the built in server it notifies you of all the redirects. How useful is this and would it be

[web2py] Re: web2py anti-propaganda video

2011-03-18 Thread Mengu
reddit thread: http://www.reddit.com/r/Python/comments/g6e5s/on_web2py_with_tornado_cherrypy_paste_mako/ On Mar 18, 4:52 pm, Anthony abasta...@gmail.com wrote: Very nice. I'm sure the claim that the web2py template engine is the best will not generate any controversy. ;) Anthony On

[web2py] Re: greetings from PyCon

2011-03-15 Thread Mengu
now that's sad massimo. i was extremely anxious to see how you built the facebook clone and how people were impressed. On Mar 14, 9:21 pm, Massimo Di Pierro massimo.dipie...@gmail.com wrote: The second part was not recorded because I forgot to press the button [record] after the break and

[web2py] Re: Proposals for New Tagline

2011-03-15 Thread Mengu
instead of the framework that gets things done i suggest get your app done On Mar 15, 1:04 pm, villas villa...@gmail.com wrote: The web2py tagline is currently: 'Enterprise Web Framework'. Massimo agrees that this might be improved and this thread is to solicit suggestions.  Ideally

[web2py] Re: Proposals for New Tagline

2011-03-15 Thread Mengu
what about generating such taglines and displaying them randomly? On Mar 15, 2:54 pm, Jason (spot) Brower encomp...@gmail.com wrote: Hmm.. Twice as fast to code in than Django and four time easier. Ok ok, it sucks, but it's true! Let me think... how about: Productivity by design. Think

[web2py] Re: greetings from PyCon

2011-03-15 Thread Mengu
well, then i'll wait. :) On Mar 15, 2:25 pm, Massimo Di Pierro massimo.dipie...@gmail.com wrote: I have the code example so I will post it. I just need to add voice. On Mar 15, 3:03 am, Mengu whalb...@gmail.com wrote: now that's sad massimo. i was extremely anxious to see how you built

[web2py] Re: greetings from PyCon

2011-03-14 Thread Mengu
so, what about the video?

[web2py] Re: Overview of posts.

2011-03-13 Thread Mengu
Here is a link of all your posts in the web2py group: http://groups.google.com/groups/search?scoring=dfilter=0enc_author=-aUA7xcAAADH3c2cptFoWyqABz-QtXr_HqZiDvCVswhrZ6TQxKj0ww On Mar 13, 11:17 am, annet annet.verm...@gmail.com wrote: The view profile link next to your name at the beginning of

[web2py] Re: greetings from PyCon

2011-03-10 Thread Mengu
was it recorded? if so, it would be really interesting to watch it. On Mar 10, 7:28 am, Anthony abasta...@gmail.com wrote: I think it went very well from the audience perspective as well. Massimo's computer was set on Chicago time (Atlanta is an hour later), so he accidentally gave us our

[web2py] Re: ADVOCACY: every single other Python program ever written uses imports?

2011-01-09 Thread Mengu
as david said, play! destroyed the traditional java -web app- programming. it doesn't use servlets so it is extremely flexible. it doesn't use maven, it uses python. it doesn't use jsp views, it is using a template system built with groovy, and so forth. there are lots of people using play!,

[web2py] Re: when to use ajax

2010-12-04 Thread Mengu
instead of extjs i can happily recommend you using qooxdoo. see: http://qooxdoo.org On Dec 3, 11:10 pm, Branko Vukelic bg.bra...@gmail.com wrote: On Fri, Dec 3, 2010 at 7:04 PM, ron_m ron.mco...@gmail.com wrote: I would be careful on the licensing of Ext JS, wasn't this the one that caused

[web2py] Re: Web2py like clone in Java?

2010-10-16 Thread Mengu
going with grails or play framework is teh only way. :) On 16 Ekim, 23:22, Michele Comitini michele.comit...@gmail.com wrote: C# ? 2010/10/16 Christopher Steel chris.st...@gmail.com: then what is the new RPG? On Oct 14, 8:08 pm, Jonathan Lundell jlund...@pobox.com wrote: On Oct

[web2py] Re: Vote for a new logo

2010-10-14 Thread Mengu
i think #7 is more serious and good. i'll vote for it. On 14 Ekim, 00:17, Bruno Rocha rochacbr...@gmail.com wrote: Martin Mulone made the logovote application. I am hosting at my server You can post logo ideas, and vote for you prefered logo. Better if you made an transparent canvas .gif

[web2py] Re: My editor ...

2010-08-21 Thread Mengu
Yes, Qt license can be GPL or LGPL. PyQt license can be GPL and there is a price to pay for commercial apps. On 21 Ağustos, 12:38, Jason Brower encomp...@gmail.com wrote: The QT licence can be gpl or lgpl. But it's free rest assured. - Original message -    On 21-08-2010 02:01,

[web2py] Re: Where to announce bugs in web2py book?

2010-08-05 Thread Mengu
what about installing redmine for bug tracking? On Aug 5, 11:04 am, mdipierro mdipie...@cs.depaul.edu wrote: email to me. ;-) On Aug 5, 3:00 am, David Marko dma...@tiscali.cz wrote: Where to annouce bugs found in web2py book? I tried to setup SOAP according to

[web2py] Re: The one video you should watch

2010-07-20 Thread Mengu
great screencast but you should really stop that zz. :) On 20 Temmuz, 17:22, mdipierro mdipie...@cs.depaul.edu wrote: If you have not followed closes the latest developments, you should watch this video: http://www.vimeo.com/13485916

[web2py] Re: new web2py site in Poland!

2010-07-09 Thread Mengu
make it english, make it damn global. it'd just work for every country and city. On 7 Temmuz, 23:46, Kuba Kucharski kuba.kuchar...@gmail.com wrote: Hi, people, I would like to present you WRSZW project http://wrszw.pl it is about events in Warsaw, capital of Poland, fully non-commercial

[web2py] Re: Urgent. EuroPython!

2010-07-05 Thread Mengu
yeah, DAL would be good. What is DAL and how it differs from others? On 2 Temmuz, 09:12, Richard richar...@gmail.com wrote: perhaps the DAL - new and upcoming features On Jul 2, 1:43 am, mdipierro mdipie...@cs.depaul.edu wrote: I just discovered I will be giving a tutorial about web2py at

[web2py] Re: [off-topic] UI frameworks like: ExtJs, Pivot

2010-05-22 Thread Mengu
qooxdoo? On 23 Mayıs, 01:38, b00m_chef r...@devshell.org wrote: I prefer YUI 3. It includes the most revolutionary plugin system. Basically, it has a built in apt-get like system where you just list all the plugins you are going to include in your app, and YUI 3 automatically downloads the

[web2py] Re: Postgresql Schema in Web2py

2010-05-14 Thread Mengu
you can install sqlalchemy and use it with web2py. and i recommend using declarative bases: http://www.sqlalchemy.org/docs/ormtutorial.html#creating-table-class-and-mapper-all-at-once-declaratively but remember, if you use sqlalchemy you won't be able to use the built- in auth and crud systems.

[web2py] Re: Belongs orders results by id

2010-05-13 Thread Mengu
so you want them to be ordered as first 1 then 6, then 136 etc? On 13 Mayıs, 13:53, Francisco Costa m...@franciscocosta.com wrote: I have this query db(db.space.id.belongs(result_id)).select() the result id is an unsorted array of ids I don't want the query results to be order by id The SQL

[web2py] Re: Belongs orders results by id

2010-05-13 Thread Mengu
yes, this is possible. i don't know other databases but possible with MySQL. db(db.space.id.belongs((result_id))).select(orderby=FIELD(id, 1,6,136,2,18,119,122)) On 13 Mayıs, 17:28, Francisco Costa m...@franciscocosta.com wrote: yes, then 2,18,119,122 On May 13, 3:22 pm, Mengu whalb

[web2py] Re: Belongs orders results by id

2010-05-13 Thread Mengu
yes, i have also tried with sqlite3 and it didn't work. see how awesome mysql is? any postgresql users, does psql support this? On 13 Mayıs, 20:37, Francisco Costa m...@franciscocosta.com wrote: Thank you Mengu I've converted my DB to MySQL. In SQLite didn't work. On May 13, 3:48 pm, Mengu

[web2py] Re: New to web development? Watch this!

2010-05-13 Thread Mengu
thanks chef, great resource. On 14 Mayıs, 00:28, b00m_chef r...@devshell.org wrote: http://academicearth.org/courses/building-dynamic-websites Watch all the videos in the series. Lots of NEED TO KNOW stuff for all those starting out.

[web2py] Re: Idea: Appliance remote management

2010-05-13 Thread Mengu
i support the idea. On 13 Mayıs, 22:07, Jason Brower encomp...@gmail.com wrote: I say we move forward with this one as it doesn't need so much work as with the plugins.  At least at first thought.  It's just additional metadata in the application.  I think some simple xml/html would do the

[web2py] Re: Review my web2py app: Radbox.me

2010-05-11 Thread Mengu
This is surely a great app. Congratulations. I wish you success like a sea.

[web2py] Re: Reverse Search with .like

2010-05-07 Thread Mengu
is || just a string or have any purpose? On 7 Mayıs, 17:35, AsmanCom d.as...@web.de wrote: Hi, here is the important Code from an Sqlite trigger i use very often, is this possible with web2py to? Sqlite: (SELECT table_1.field_1 FROM table_1 WHERE '%' || NEW.field_1 || '%' LIKE

[web2py] Re: New to web app development -- is web2py a good choice

2010-05-06 Thread Mengu
This was true until the book went online. Now, web2py have a great documentation. Other than that, anything that a beginner might ask can be found in the mailing list. On 6 Mayıs, 17:07, Chris S sanders.ch...@gmail.com wrote: I've heard it said that the documentation for web2py isn't as good as

[web2py] Re: Top 3 web2py features

2010-05-06 Thread Mengu
1) scalable 2) fast 3) easy

[web2py] Re: blocks in template

2010-05-05 Thread Mengu
We were discussing this on the IRC and he has taken action, great! Block support is an important part of templating engines. Thank you both. On 5 Mayıs, 08:11, Massimo Di Pierro mdipie...@cs.depaul.edu wrote: Less that two days ago Thadeus made a request:    

[web2py] Re: web2py paypal integration

2010-04-29 Thread Mengu
excellent article! i needed it for my e-commerce software that i'm developing with web2py.

[web2py] Re: web2py stats

2010-04-29 Thread Mengu
this is great news. hope many of them convert not just stay with visiting! :) On 29 Nisan, 17:32, mdipierro mdipie...@cs.depaul.edu wrote: web2py.com visitors have gone up (about +30% since two weeks ago). Unique visitors (by IP) 22/Apr/2010 1449 23/Apr/2010 1464 24/Apr/2010 1138

[web2py] Re: ASP vs Rails 3 (vs web2py?)

2010-04-28 Thread Mengu
i can do it. :) On 27 Nisan, 16:53, mdipierro mdipie...@cs.depaul.edu wrote: Who is brave enough to rewrite this and add web2py? http://anders.janmyr.com/2010/04/aspnet-mvc-vs-rails3.html -- Subscription settings:http://groups.google.com/group/web2py/subscribe?hl=en

[web2py] Re: delete database entry by form

2010-04-19 Thread Mengu
SQLFORM has an argument called deletable if you set it to True when you initialize it, you will have an option like delete this record. and when you submit the form with that option checked then the record will be deleted. On 20 Nisan, 03:12, claudio grossep...@googlemail.com wrote: I have a

[web2py] Re: web2py on IDE

2010-04-17 Thread Mengu
be awesome. As far as the IDE itself goes, a VIM mode would be a final selling point for me. On Apr 16, 7:25 pm, Mengu whalb...@gmail.com wrote: i currently don't know how to do vim mode and never done a research on this but i will take a look. your other suggestion is a must so i

[web2py] web2py on IDE

2010-04-16 Thread Mengu
hi all, many of you know that i'm developing a web development IDE that will support many frameworks including web2py. so i want to hear your ideas and suggestions for both web2py part and the IDE in general. your sincerely mengu -- Subscription settings: http://groups.google.com/group/web2py

[web2py] Re: web2py on IDE

2010-04-16 Thread Mengu
thanks massimo. any recommendations for web2py or general purpose? On Apr 17, 4:42 am, mdipierro mdipie...@cs.depaul.edu wrote: looks really nice. On Apr 16, 7:35 pm, Mengu whalb...@gmail.com wrote: an early preview can be viewed athttp://omploader.org/vNDNsag/out-18.ogv On Apr 17, 3

[web2py] Creating New Applications From Console

2010-04-06 Thread Mengu
Hi, Is it possible to create new applications from console via web2py.py? -- You received this message because you are subscribed to the Google Groups web2py-users group. To post to this group, send email to web...@googlegroups.com. To unsubscribe from this group, send email to

[web2py] Re: Creating New Applications From Console

2010-04-06 Thread Mengu
so python web2py.py -S newapp is working? thanks by the way. i need this for my IDE's project creation. On 6 Nisan, 21:43, mdipierro mdipie...@cs.depaul.edu wrote: It should go in the comments. I would not add a new -g because we are running out of command line options. Massimo On Apr 6,

[web2py] Re: Creating New Applications From Console

2010-04-06 Thread Mengu
oh, it asks to create if it doesn't exist. it doesn't create automatically. On 6 Nisan, 22:10, mr.freeze nat...@freezable.com wrote: That works but you must confirm it at the command line. On Apr 6, 2:06 pm, Mengu whalb...@gmail.com wrote: so python web2py.py -S newapp is working

[web2py] Re: New Python IDE for Windows/Mac/Linux

2010-04-01 Thread Mengu
yet another complex, powered by jetbrains ide. i think these guys know how to develop but don't know what is an ide. however it looks good. by the way, i'm also developing a web development ide (http:// www.mengu.net/post/a-new-web-development-ide) so i hate competition. :D On 2 Nisan, 02:38,

[web2py] Re: how's going to make a plugin?

2010-03-24 Thread Mengu
how or who? On 24 Mart, 17:42, mdipierro mdipie...@cs.depaul.edu wrote: http://nivo.dev7studios.com/ -- You received this message because you are subscribed to the Google Groups web2py-users group. To post to this group, send email to web...@googlegroups.com. To unsubscribe from this group,

[web2py] Re: web2py beautification

2010-03-18 Thread Mengu
withhttp://jqueryui.com/themeroller/itwouldbe nice. On Mar 13, 9:35 pm, villas villa...@gmail.com wrote: On Mar 13, 4:05 pm, Mengu whalb...@gmail.com wrote: i still recommend oocss as css framework. a lot easier, a lot better. @Aure. Sencss. Good styles, but I don't think

[web2py] Re: custom validation problem

2010-03-17 Thread Mengu
to your console. On 17 Mart, 13:41, mohammed al-moustady mohd.moust...@gmail.com wrote: thank you hamdy but it is irrelevant to the code. BTW mdipierro do you mean print statement in the code itself? I thought it was s special function.. ok even If I do these print statements were would

[web2py] Re: Where do you use web2py?

2010-03-14 Thread Mengu
i am currently developing a business networking application with web2py. after that i will get into the CRM market. On 12 Mart, 11:42, Giovanni Giorgi j...@objectsroot.com wrote: Hi all,  in the attempt to better knowing web2py and its community, I'd like to write some entry on my blog

[web2py] Re: errorless ajax bugs - how to prevent?

2010-03-14 Thread Mengu
my advice is not web2py related but when i am dealing with ajax and javascript in general i always fire up my firebug console. On 14 Mart, 10:43, snfctech tschm...@sacfoodcoop.com wrote: You're right.  The example I gave isn't holding up anymore!  (I swear, I didn't change my code since my last

[web2py] Re: web2py beautification

2010-03-13 Thread Mengu
i still recommend oocss as css framework. a lot easier, a lot better. -- You received this message because you are subscribed to the Google Groups web2py-users group. To post to this group, send email to web...@googlegroups.com. To unsubscribe from this group, send email to

[web2py] Re: An SQL Query Question for DAL

2010-03-13 Thread Mengu
if Massimo will take the patch! On Mar 13, 12:50 am, Mengu whalb...@gmail.com wrote: alright then, this is really great. :) i'm happy that i could contribute to web2py. :) thanks mr.freeze. On 13 Mart, 08:42, mr.freeze nat...@freezable.com wrote: I think so. I tested on a similar query

[web2py] Re: An SQL Query Question for DAL

2010-03-13 Thread Mengu
sorry, this is the full error: File /home/mengu/projects/werkzeug/***/models/gluon/sql.py, line 3525, in __str__ self.export_to_csv_file(s) File /home/mengu/projects/werkzeug/***/models/gluon/sql.py, line 3505, in export_to_csv_file row.append(record._extra[col]) File /home/mengu

[web2py] Re: An SQL Query Question for DAL

2010-03-12 Thread Mengu
expression into a new variable: totals = db(db.things.id0).select(db.things.amount.sum().with_alias('total')) print totals.first().total Thanks Mengu. On Mar 11, 2:57 pm, Mengu whalb...@gmail.com wrote: hi mr. freeze, please go with it, i didn't start doing anything. :) On 11 Mart

[web2py] Re: An SQL Query Question for DAL

2010-03-12 Thread Mengu
',    Field('post_id', db.post),    Field('comment', 'text')) def mengu():     rows = db(db.post_comment.post_id==db.post.id).select(COUNT(post.id) AS postcount,                                                    db.post.id, db.post.title

[web2py] Re: An SQL Query Question for DAL

2010-03-12 Thread Mengu
' is better than 'with_alias': postcount = db.post.id.count().named('postcount') On Mar 13, 12:54 am, mr.freeze nat...@freezable.com wrote: Now we just need to see if Massimo will take the patch! On Mar 13, 12:50 am, Mengu whalb...@gmail.com wrote: alright then, this is really great

[web2py] Re: An SQL Query Question for DAL

2010-03-11 Thread Mengu
Anyone has any other way for writing that query? Massimo, wouldn't you accept this as a patch? -- You received this message because you are subscribed to the Google Groups web2py-users group. To post to this group, send email to web...@googlegroups.com. To unsubscribe from this group, send

[web2py] Re: An SQL Query Question for DAL

2010-03-11 Thread Mengu
hi mr. freeze, please go with it, i didn't start doing anything. :) On 11 Mart, 22:52, mr.freeze nat...@freezable.com wrote: Mengu, one made one small change to your code for backwards compatibility (putting the value back into _extra).  Other than that, I added a with_alias method

[web2py] An SQL Query Question for DAL

2010-03-10 Thread Mengu
Hi all, I have two write this query: SELECT COUNT( vote.id ) AS votecount, question.id, question.title FROM vote, question WHERE vote.question_id = question.id GROUP BY question.id ORDER BY votecount DESC And I have came up with: top_votes =

[web2py] Re: An SQL Query Question for DAL

2010-03-10 Thread Mengu
By the way, this work for queries like: top_votes = db(db.vote.question_id==db.question.id).select(title AS t, db.question.title, groupby=db.question.id) so you can access t with top_votes[0].t On 11 Mart, 06:38, Mengu whalb...@gmail.com wrote: Hi all, I have two write this query: SELECT

[web2py] Re: Introducing myself: Giovanni Giorgi

2010-03-07 Thread Mengu
welcome to web2py family giovanni :) wish you good luck with your journey. On 7 Mart, 12:36, Giovanni Giorgi j...@objectsroot.com wrote: Hi all,  I am new to web2py, so I will introduce shortly myself. My name is Giovanni Giorgi, I am a 35-years old Senior Consultant. I live in Milan, in

[web2py] Re: web2py beautification

2010-03-07 Thread Mengu
if anyone is going to do the design work, i recommend oocss at www.oocss.org On 7 Mart, 12:29, villas villa...@gmail.com wrote: An example layout page I looked at had: div class=wrapper table class=layout td colspan=3  class=header td colspan=3 class=statusbar td class=width10em column1

[web2py] Re: * web2py's Brand *

2010-03-05 Thread Mengu
well actually, for example their irc rooms on freenode are around 80+ people from ours. but turbogears is always around 50 people. On 6 Mart, 02:24, mdipierro mdipie...@cs.depaul.edu wrote: LOL. No I am not a good salesman and proud of that. ;-) Anyway... Do you see any technical reason why

[web2py] dal.py password is invalid keyword for this function error

2010-03-05 Thread Mengu
Hi, I wanted to use DAL for a project of mine, not web2py but python and i got password is invalid keyword for this function. but this doesn't happen when i use sql.py instead of dal.py This is for MySQL by the way. -- You received this message because you are subscribed to the Google Groups

[web2py] Re: New Code-Editor

2010-03-04 Thread Mengu
* in the views it would be great if there is a {{ * put the curser here * }}-button (this will save time) i think a keyboard shortcut would be better rather than a button. -- You received this message because you are subscribed to the Google Groups web2py-users group. To post to this group,

[web2py] Re: * web2py's Brand *

2010-03-04 Thread Mengu
The question here is how do we get more people know and use web2py. is it releasing some widely used and mostly needed applications developed with web2py? or a big web site that is developed with web2py? as far as i know django doesn't power, for example a social network that is widely used. but

[web2py] Online Users

2010-03-03 Thread Mengu
Hi, After logging in, how should I collect the online users? -- You received this message because you are subscribed to the Google Groups web2py-users group. To post to this group, send email to web...@googlegroups.com. To unsubscribe from this group, send email to

[web2py] Javascript Comment Bug

2010-03-03 Thread Mengu
Hi, This is not a big deal. I have some inline javascript in my layout and I have a commented line like // url: /review/vote?reviewid={{= review.id}} (it was for rememering the url) but the template system want to find review and print the id. -- You received this message because you are

[web2py] Re: Online Users

2010-03-03 Thread Mengu
nat...@freezable.com wrote: This?:http://web2py.com/book/default/section/3/3?search=sessions On Mar 3, 11:23 am, Mengu whalb...@gmail.com wrote: Hi, After logging in, how should I collect the online users? -- You received this message because you are subscribed to the Google Groups

[web2py] Re: data type for .sum()?

2010-03-03 Thread Mengu
for such operations i use, for example, review.votes = review.votes if review.votes is not None else 0 so i can do operations on it. On Mar 3, 10:26 pm, mdipierro mdipie...@cs.depaul.edu wrote: I can see there is a bug in web2py in that respect since it assumes integer while it should be of the

[web2py] Re: Online Users

2010-03-03 Thread Mengu
delete the records those have done nothing in the last 10 minutes. so these all are done per request, i need to write a cron job which will make some cleaning. i hope i'm on the right way. On Mar 3, 9:01 pm, Mengu whalb...@gmail.com wrote: no actually, for two reasons: 1) it says: The counter

[web2py] Re: data type for .sum()?

2010-03-03 Thread Mengu
way more cool! :) thanks. On Mar 3, 10:59 pm, mdipierro mdipie...@cs.depaul.edu wrote: this is simpler and works with 2.4 review.votes = review.votes or 0 On Mar 3, 2:49 pm, Mengu whalb...@gmail.com wrote: for such operations i use, for example, review.votes = review.votes

[web2py] Re: Javascript Comment Bug

2010-03-03 Thread Mengu
which file should i edit to fix this? On Mar 3, 8:58 pm, Mengu whalb...@gmail.com wrote: Hi, This is not a big deal. I have some inline javascript in my layout and I have a commented line like // url: /review/vote?reviewid={{= review.id}} (it was for rememering the url) but the template

[web2py] Re: wordpress

2010-03-03 Thread Mengu
the designer can just use jquery.corner plugin for rounded corners. it is working with firefox, ie, opera and chrome very good. On Mar 4, 3:02 am, mdipierro mdipie...@cs.depaul.edu wrote: The nice thing about wordpress is that it is color neutral and it doed almost everything with CSS not

[web2py] Re: * web2py's Brand *

2010-03-03 Thread Mengu
John, There are things that I agree with you and there are things that I disagree with you. For example if PyCon participants are interested in Django and not in web2py, isn't this for Django's popularity? If so, how come the concern over popularity is uncomfortable? When selecting a framework, I

[web2py] A suggestion on table migration

2010-03-03 Thread Mengu
Hi, I think it would be better and faster for setting a global option for db for migrations so instead of checking per table, if that global option is set to True then it migrates and if it's set to False then it doesn't migrate. What do you think? -- You received this message because you are

[web2py] Re: Routes.py - Remove Application prefix

2010-03-01 Thread Mengu
massimo, this breaks admin. :) On 1 Mart, 14:53, mdipierro mdipie...@cs.depaul.edu wrote: or the new simpler way routes_in = (('/$anything', '/init/$anything'),) routes_out = (('/init/$anything', '/$anything'),) On Mar 1, 5:51 am, Álvaro Justen [Turicas] alvarojus...@gmail.com wrote:

[web2py] Re: zen html

2010-03-01 Thread Mengu
this is just awesome. i really would use this with web2py. and it also has a gedit bundling so i'm going to learn and use :) thanks for letting us know selecta. On 25 Şubat, 17:49, selecta gr...@delarue-berlin.de wrote: Sometimes you still have to write html in web2py which is annoying. It

[web2py] Re: storing a Python list

2010-03-01 Thread Mengu
massimo, there is also a problem, i cannot store a datetime object in session, it says unmarshallable object. why is that? On 1 Mart, 19:55, Carl carl.ro...@gmail.com wrote: Sorry, not quite there. I can't see why for myself but when I pass a python list into this SQLCustom definition in

[web2py] Re: translation of the online book

2010-02-28 Thread Mengu
revisions? On 28 Şubat, 15:07, mdipierro mdipie...@cs.depaul.edu wrote: I am thinking about adding miltilingual support directly into the book app. The problem is that adding pages is easy, keeping track of what has been translated and what no may be a mess. Any advice? On Feb 27, 7:50 pm,

[web2py] Re: unfair trolling

2010-02-28 Thread Mengu
trolls are everywhere and yes, this is unfair because this is not web2py's fault. however web2py.com being down for hours? this is not fair too. i remember someone suggesting the community should also run the web site. i suggest instead of the community you can also share the information with one

[web2py] Re: Web2py Scalability and demos

2010-02-28 Thread Mengu
If I were you, I'd run a benchmark test with the current system and the same application with web2py. But of course this means time. :) On 26 Şubat, 04:42, Alfonso de la Guarda alfons...@gmail.com wrote: Hello, Right now, i have a costumer in the news business in my country which expect, at

[web2py] Re: Is the web2py site down?

2010-02-27 Thread Mengu
it is up now. On 27 Şubat, 10:30, Neno nen...@gmail.com wrote: http://www.web2py.com/doesn't seem to be responding... -- You received this message because you are subscribed to the Google Groups web2py-users group. To post to this group, send email to web...@googlegroups.com. To unsubscribe

[web2py] Re: what distinguishes update form from create form

2010-02-23 Thread Mengu
you can also set deletable to true so in the update form you will be able to delete the form. i strongly recommend you watching the blog screencast which will let you understand lots of things about web2py. here is the url: http://omploader.org/vMzBoeg On 23 Şubat, 16:06, DenesL

[web2py] Re: they are copying us....

2010-02-16 Thread Mengu
actually i don't think massimo really meant they are copying us in the way you understood. what i have understood from his sentence is this is an approval of our approach to how a framework should be On 16 Şubat, 11:25, pistacchio pistacc...@gmail.com wrote: hi massimo, i really appreciate your

[web2py] Re: form - redirect - where are the variables?

2010-02-08 Thread Mengu
Massimo, Is there any method that we can check if the instance is valid instead of checking with the form instance? On Feb 8, 10:56 pm, Johann Spies johann.sp...@gmail.com wrote: I want to use a form to build a query for a search function and do not understand the communication between the

  1   2   >